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

H5P calls get_content() on bool

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_38_STABLE

      Description

      Install mod_h5p and run phpunit tests:

      There was 1 error:
       
      1) core_h5p_external_testcase::test_get_trusted_h5p_file
      Error: Call to a member function get_content() on bool
       
      h5p/classes/file_storage.php:540
      h5p/classes/file_storage.php:225
      mod/hvp/library/h5p.classes.php:2446
      h5p/classes/player.php:681
      h5p/classes/player.php:597
      h5p/classes/player.php:177
      h5p/classes/external.php:118
      h5p/tests/external_test.php:87
      lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit "core_h5p_external_testcase" h5p/tests/external_test.php
       
      --
       
      There was 1 failure:
       
      1) provider_testcase::test_userdata_provider_implements_userlist with data set "mod_hvp" ('mod_hvp', 'mod_hvp\privacy\provider')
      Failed asserting that false is true.
       
      privacy/tests/provider_test.php:212
      lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit "provider_testcase" privacy/tests/provider_test.php
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rdebleu Renaat Debleu
            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:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: