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

h5p_file_storage_tests.php raises errors "Interface 'H5PFileStorage' not found"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8
    • Component/s: H5P
    • Labels:
    • Sprint:
      H5P Sprint Relase 3.8

      Description

      When executing the h5p_file_storage_tests.php file, the following error is raised:

      PHP Fatal error: Interface 'H5PFileStorage' not found in moodle/h5p/classes/file_storage.php on line 36
      PHP Stack trace:
      PHP 1. {main}() moodle/vendor/phpunit/phpunit/phpunit:0
      PHP 2. PHPUnit\TextUI\Command::main() moodle/vendor/phpunit/phpunit/phpunit:61
      PHP 3. PHPUnit\TextUI\Command->run() moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:162
      PHP 4. PHPUnit\TextUI\TestRunner->doRun() moodle/vendor/phpunit/phpunit/src/TextUI/Command.php:206
      PHP 5. PHPUnit\Framework\TestSuite->run() moodle/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:652
      PHP 6. core_h5p\local\tests\h5p_file_storage_testcase->run() moodle/vendor/phpunit/phpunit/src/Framework/TestSuite.php:746
      PHP 7. PHPUnit\Framework\TestResult->run() moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:796
      PHP 8. core_h5p\local\tests\h5p_file_storage_testcase->runBare() moodle/vendor/phpunit/phpunit/src/Framework/TestResult.php:693
      PHP 9. core_h5p\local\tests\h5p_file_storage_testcase->runBare() moodle/lib/phpunit/classes/advanced_testcase.php:80
      PHP 10. core_h5p\local\tests\h5p_file_storage_testcase->setUp() moodle/vendor/phpunit/phpunit/src/Framework/TestCase.php:838
      PHP 11. spl_autoload_call() moodle/h5p/tests/h5p_file_storage_test.php:67
      PHP 12. core_component::classloader() moodle/h5p/tests/h5p_file_storage_test.php:67
      PHP 13. include_once() moodle/lib/classes/component.php:118

        Attachments

          Activity

            People

            Assignee:
            sarjona Sara Arjona (@sarjona)
            Reporter:
            sarjona Sara Arjona (@sarjona)
            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
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/Nov/19

                Time Tracking

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