Skip to content

Commit

Permalink
Merge pull request #138 from junpataleta/langimportRemote
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 authored Dec 11, 2024
2 parents f70c5e4 + 6d7d140 commit 126b889
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions runner/main/modules/docker-php/config.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
// Skip language upgrade during the on-sync period.
$CFG->skiplangupgrade = false;

// Enable tests needing language install/upgrade
// only if we have language upgrades enabled (aka,
// when we aren't skipping them).
if (empty($CFG->skiplangupgrade)) {
define('TOOL_LANGIMPORT_REMOTE_TESTS', true);
}

$CFG->wwwroot = 'http://host.name';
$CFG->dataroot = '/var/www/moodledata';
$CFG->admin = 'admin';
Expand Down Expand Up @@ -89,6 +82,13 @@
\moodlehq_ci_runner::apply_config_settings($config);
}

// Enable tests needing language install/upgrade
// only if we have language upgrades enabled (aka,
// when we aren't skipping them).
if (empty($CFG->skiplangupgrade)) {
define('TOOL_LANGIMPORT_REMOTE_TESTS', true);
}

define('PHPUNIT_LONGTEST', true);

define('PHPUNIT_PATH_TO_SASSC', '/usr/bin/sassc');
Expand Down

0 comments on commit 126b889

Please sign in to comment.