summaryrefslogtreecommitdiffstatshomepage
path: root/core/tests/Drupal/KernelTests/KernelTestBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/tests/Drupal/KernelTests/KernelTestBase.php')
-rw-r--r--core/tests/Drupal/KernelTests/KernelTestBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/Drupal/KernelTests/KernelTestBase.php b/core/tests/Drupal/KernelTests/KernelTestBase.php
index 34aca08f15a9..c45e937d371e 100644
--- a/core/tests/Drupal/KernelTests/KernelTestBase.php
+++ b/core/tests/Drupal/KernelTests/KernelTestBase.php
@@ -439,7 +439,7 @@ abstract class KernelTestBase extends TestCase implements ServiceProviderInterfa
throw new \Exception('There is no database connection so no tests can be run. You must provide a SIMPLETEST_DB environment variable to run PHPUnit based functional tests outside of run-tests.sh. See https://www.drupal.org/node/2116263#skipped-tests for more information.');
}
else {
- $database = Database::convertDbUrlToConnectionInfo($db_url, $this->root, TRUE);
+ $database = Database::convertDbUrlToConnectionInfo($db_url, TRUE);
Database::addConnectionInfo('default', 'default', $database);
}