diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 4880a21f80..4fbd77c254 100644 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -468,7 +468,7 @@ function simpletest_script_init() { // Detect if we're in the top-level process using the private 'execute-test' // argument. Determine if being run on drupal.org's testing infrastructure // using the presence of 'drupaltestbot' in the database url. - if (!$args['execute-test'] && preg_match('/drupaltestbot/', $args['dburl'])) { + if (!$args['execute-test'] && preg_match('/drupalci/', $args['sqlite'])) { // Update PHPUnit if needed and possible. There is a later check once the // autoloader is in place to ensure we're on the correct version. We need to // do this before the autoloader is in place to ensure that it is correct.