mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-59287 core_completion: Update to unit tests.
This commit is contained in:
parent
1930749f46
commit
190646bd75
3 changed files with 15 additions and 10 deletions
|
@ -186,6 +186,9 @@ class core_test_generator_testcase extends advanced_testcase {
|
|||
|
||||
public function test_create_module() {
|
||||
global $CFG, $SITE, $DB;
|
||||
|
||||
$this->setAdminUser();
|
||||
|
||||
if (!file_exists("$CFG->dirroot/mod/page/")) {
|
||||
$this->markTestSkipped('Can not find standard Page module');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue