diff --git a/core/tests/Drupal/KernelTests/KernelTestBaseTest.php b/core/tests/Drupal/KernelTests/KernelTestBaseTest.php index 2deaa95..a2e30c4 100644 --- a/core/tests/Drupal/KernelTests/KernelTestBaseTest.php +++ b/core/tests/Drupal/KernelTests/KernelTestBaseTest.php @@ -52,27 +52,11 @@ public function testBootEnvironment() { * @covers ::getDatabaseConnectionInfo */ public function testGetDatabaseConnectionInfoWithOutManualSetDbUrl() { - $this->setUp(); - $options = $this->container->get('database')->getConnectionOptions(); $this->assertSame($this->databasePrefix, $options['prefix']['default']); } /** - * @covers ::getDatabaseConnectionInfo - */ - public function testGetDatabaseConnectionInfoWithManualSetDbUrl() { - if (!file_exists('/tmp')) { - $this->markTestSkipped(); - } - putenv('SIMPLETEST_DB=sqlite://localhost//tmp/test2.sqlite'); - $this->setUp(); - - $options = $this->container->get('database')->getConnectionOptions(); - $this->assertNotEqual('', $options['prefix']['default']); - } - - /** * @covers ::setUp */ public function testSetUp() {