Merge branch 'MDL-67100-master' of git://github.com/sarjona/moodle
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 1 Nov 2019 03:07:40 +0000 (11:07 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 1 Nov 2019 03:07:40 +0000 (11:07 +0800)
h5p/tests/h5p_file_storage_test.php

index dc25c07..832b4f0 100644 (file)
@@ -26,6 +26,7 @@
 namespace core_h5p\local\tests;
 
 use core_h5p\file_storage;
+use core_h5p\autoloader;
 use file_archive;
 use zip_archive;
 
@@ -59,6 +60,8 @@ class h5p_file_storage_testcase extends \advanced_testcase {
         parent::setUp();
         $this->resetAfterTest(true);
 
+        autoloader::register();
+
         // Fetch generator.
         $generator = \testing_util::get_data_generator();
         $this->h5p_generator = $generator->get_plugin_generator('core_h5p');