MDL-59287 core_completion: Update to unit tests.

This commit is contained in:
Adrian Greeve 2017-06-29 09:07:50 +08:00
parent 1930749f46
commit 190646bd75
3 changed files with 15 additions and 10 deletions

View file

@ -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');
}