Skip to content

Commit 126b889

Browse files
authored
Merge pull request #138 from junpataleta/langimportRemote
2 parents f70c5e4 + 6d7d140 commit 126b889

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

runner/main/modules/docker-php/config.template.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@
5151
// Skip language upgrade during the on-sync period.
5252
$CFG->skiplangupgrade = false;
5353

54-
// Enable tests needing language install/upgrade
55-
// only if we have language upgrades enabled (aka,
56-
// when we aren't skipping them).
57-
if (empty($CFG->skiplangupgrade)) {
58-
define('TOOL_LANGIMPORT_REMOTE_TESTS', true);
59-
}
60-
6154
$CFG->wwwroot = 'http://host.name';
6255
$CFG->dataroot = '/var/www/moodledata';
6356
$CFG->admin = 'admin';
@@ -89,6 +82,13 @@
8982
\moodlehq_ci_runner::apply_config_settings($config);
9083
}
9184

85+
// Enable tests needing language install/upgrade
86+
// only if we have language upgrades enabled (aka,
87+
// when we aren't skipping them).
88+
if (empty($CFG->skiplangupgrade)) {
89+
define('TOOL_LANGIMPORT_REMOTE_TESTS', true);
90+
}
91+
9292
define('PHPUNIT_LONGTEST', true);
9393

9494
define('PHPUNIT_PATH_TO_SASSC', '/usr/bin/sassc');

0 commit comments

Comments
 (0)