Skip to content

Commit

Permalink
refactor code for better testability
Browse files Browse the repository at this point in the history
- add $question_engine to allow mocking question_engine
  • Loading branch information
Glutamat42 committed Jan 11, 2024
1 parent baed0ff commit 395b56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/adler_testcase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace availability_adler\lib;

global $CFG;
require_once($CFG->dirroot . 'availability/condition/adler/vendor/autoload.php');
require_once($CFG->dirroot . '/availability/condition/adler/vendor/autoload.php');

use advanced_testcase;
use externallib_advanced_testcase;
Expand Down

0 comments on commit 395b56b

Please sign in to comment.