mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-67100 core_h5p: Add autoloader to the h5p_file_storage_test
This commit is contained in:
parent
d7699706da
commit
ca7de4b6d7
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user