Skip to content

Commit

Permalink
Remove autoload.php call.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Sep 25, 2023
1 parent 1ae083d commit 71f002a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/repository/import_data_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@

global $CFG;

require_once('./mod/verbalfeedback/classes/vendor/autoload.php');

use Dallgoot\Yaml;

require_once($CFG->dirroot . '/mod/verbalfeedback/classes/vendor/dallgoot/yaml/src/Loader.php');
require_once($CFG->dirroot . '/mod/verbalfeedback/classes/vendor/dallgoot/yaml/src/Nodes/Root.php');
require_once($CFG->dirroot . '/mod/verbalfeedback/classes/vendor/dallgoot/yaml/src/Nodes/Key.php');
require_once($CFG->dirroot . '/mod/verbalfeedback/classes/vendor/dallgoot/yaml/src/Nodes/Generic/NodeGeneric.php');
require_once($CFG->dirroot . '/mod/verbalfeedback/classes/vendor/dallgoot/yaml/src/Dumper.php');
require_once($CFG->dirroot . '/mod/verbalfeedback/classes/vendor/dallgoot/yaml/src/NodeFactory.php');
require_once($CFG->dirroot . '/mod/verbalfeedback/classes/vendor/dallgoot/yaml/src/Regex.php');

use mod_verbalfeedback\model\language;
use mod_verbalfeedback\model\localized_string;
use mod_verbalfeedback\model\template\parametrized_template_category;
Expand Down

0 comments on commit 71f002a

Please sign in to comment.