diff --git a/core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php b/core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php index 885498fcd2ba064cdcccb23213282d6ca1951daf..3bc2c8f6caff3df75d9e68be0d93c4a789aad85b 100644 --- a/core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php +++ b/core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php @@ -31,12 +31,14 @@ class EndOfTransactionQueriesTest extends KernelTestBase { * {@inheritdoc} */ protected function setUp() { + parent::setUp(); + + // This can only be checked after installing Drupal as it requires functions + // from bootstrap.inc. if (!class_exists($this->getDatabaseConnectionInfo()['default']['namespace'] . '\Connection')) { $this->markTestSkipped(sprintf('No logging override exists for the %s database driver. Create it, subclass this test class and override ::getDatabaseConnectionInfo().', $this->getDatabaseConnectionInfo()['default']['driver'])); } - parent::setUp(); - $this->installSchema('system', 'sequences'); $this->installEntitySchema('entity_test'); $this->installEntitySchema('user');