-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
* mod_learningmap data generator | ||
* | ||
* @package mod_learningmap | ||
* @copyright 2021-2024, ISB Bayern | ||
* @copyright 2021-2024, ISB Bayern | ||
* @author Stefan Hanauska <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
@@ -36,8 +36,10 @@ public function create_instance($record = null, array $options = null): stdClass | |
|
||
$record = (array)$record + [ | ||
'name' => 'test map', | ||
'intro' => file_get_contents($CFG->dirroot . '/mod/learningmap/tests/generator/test.svg'), | ||
'introformat' => 1, | ||
'intro' => 'test intro', | ||
'introformat' => 0, | ||
'svgcode' => file_get_contents($CFG->dirroot . '/mod/learningmap/tests/generator/test.svg'), | ||
'showmaponcoursepage' => 1, | ||
'placestore' => file_get_contents($CFG->dirroot . '/mod/learningmap/tests/generator/test.json'), | ||
'completiontype' => 2, | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* Unit test for mod_learningmap | ||
* | ||
* @package mod_learningmap | ||
* @copyright 2021-2024, ISB Bayern | ||
* @copyright 2021-2024, ISB Bayern | ||
* @author Stefan Hanauska <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @group mod_learningmap | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* Unit test for mod_learningmap | ||
* | ||
* @package mod_learningmap | ||
* @copyright 2021-2024, ISB Bayern | ||
* @copyright 2021-2024, ISB Bayern | ||
* @author Stefan Hanauska <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @group mod_learningmap | ||
|