Skip to content

Commit

Permalink
Fixed lib_test to succeed
Browse files Browse the repository at this point in the history
Co-authored-by: mantarias <mantas2630@hotmail.com>
  • Loading branch information
VinceAAU and mantarias committed Oct 22, 2024
1 parent 399e8e3 commit d4c01ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/moodle/mod/livequiz/tests/phpunit/lib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected function setUp(): void {
* It should return false if the instance cannot be added.
*/
public function test_livequiz_add_instance(): void {
require_once(__DIR__ . '/../../lib.php');
global $DB;

$quizdata = new \stdClass(); // Create a new stdClass object (empty object).
Expand Down

0 comments on commit d4c01ee

Please sign in to comment.