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

moodleform not found when running core_h5p testsuite

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.9
    • Component/s: H5P, Unit tests
    • Labels:

      Description

      To reproduce:

      1. Set up PHPUnit
      2. Run the core_h5p_testsuite test:

        vendor/bin/phpunit --testsuite core_h5p_testsuite
        

      Expected: The test will run normally and pass.
      Actual: An error is encountered:

      Fatal error: Class 'moodleform' not found in /home/jun/moodles/stable_master/moodle/h5p/tests/editor_test.php on line 256
      

      This seems to affect master only.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmdef Víctor Déniz Falcón
              Reporter:
              jpataleta Jun Pataleta
              Peer reviewer:
              Carlos Escobedo
              Integrator:
              Andrew Nicols
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

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