Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68281

Missing moodle_phpmailer in core_authlib_testcase::test_signup_validate_data_same_email

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1) Init the phpunit environment

      php admin/tool/phpunit/cli/init.php

      2) Run the problematic testcase:

      vendor/bin/phpunit --process-isolation --filter core_authlib_testcase

      3) Verify that the test ends without any error.

      Show
      1) Init the phpunit environment php admin/tool/phpunit/cli/init.php 2) Run the problematic testcase: vendor/bin/phpunit --process-isolation --filter core_authlib_testcase 3) Verify that the test ends without any error.
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull Master Branch:

      Description

      This is a regression introduced by MDL-68183

      In an experimental issue I've (travis windows support), where I do execute unit tests separated into multiple filtered groups... (to avoid timeouts) I'm getting the following failure:

      There was 1 error:
      1145
      11461) core_authlib_testcase::test_signup_validate_data_same_email
      1147Error: Class 'moodle_phpmailer' not found
      1148
      1149C:\Users\travis\build\stronk7\moodle\lib\tests\authlib_test.php:436
      1150C:\Users\travis\build\stronk7\moodle\lib\phpunit\classes\advanced_testcase.php:80
      1151
      1152To re-run:
      1153 vendor/bin/phpunit --verbose "core_authlib_testcase" lib/tests/authlib_test.php
      

      (link: https://travis-ci.org/github/stronk7/moodle/jobs/667670316)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Peer reviewer:
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Integrator:
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Tester:
              Janelle Barcega Janelle Barcega
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 25 minutes
                  1h 25m