We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebfdba1 commit 1373422Copy full SHA for 1373422
tests/local/source/certify_test.php
@@ -159,7 +159,9 @@ public function test_purge_courses() {
159
$this->getDataGenerator()->create_module('chat', $params, []);
160
$this->getDataGenerator()->create_module('choice', $params, []);
161
$this->getDataGenerator()->create_module('data', $params, []);
162
- $this->getDataGenerator()->create_module('facetoface', $params, []);
+ if (get_config('mod_facetoface', 'version')) {
163
+ $this->getDataGenerator()->create_module('facetoface', $params, []);
164
+ }
165
$this->getDataGenerator()->create_module('feedback', $params, []);
166
$this->getDataGenerator()->create_module('forum', $params, []);
167
$this->getDataGenerator()->create_module('glossary', $params, []);
0 commit comments