Skip to content

Commit 1373422

Browse files
committed
OWORK-684 fix certificate dependency
1 parent ebfdba1 commit 1373422

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/local/source/certify_test.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ public function test_purge_courses() {
159159
$this->getDataGenerator()->create_module('chat', $params, []);
160160
$this->getDataGenerator()->create_module('choice', $params, []);
161161
$this->getDataGenerator()->create_module('data', $params, []);
162-
$this->getDataGenerator()->create_module('facetoface', $params, []);
162+
if (get_config('mod_facetoface', 'version')) {
163+
$this->getDataGenerator()->create_module('facetoface', $params, []);
164+
}
163165
$this->getDataGenerator()->create_module('feedback', $params, []);
164166
$this->getDataGenerator()->create_module('forum', $params, []);
165167
$this->getDataGenerator()->create_module('glossary', $params, []);

0 commit comments

Comments
 (0)