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

moodleform not found when running core_h5p testsuite

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9
    • 3.9
    • H5P, Unit tests

    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

              vmdef Victor Déniz Falcón
              jpataleta Jun Pataleta
              Carlos Escobedo Carlos Escobedo
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                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