public function DbalConnectionKernelTest::setUp in Dbal connection 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ DbalConnectionKernelTest.php, line 22
Class
- DbalConnectionKernelTest
- Tests dbal_connection service.
Namespace
Drupal\Tests\dbal\KernelCode
public function setUp() {
parent::setUp();
// We use the semaphore table, which is created by acquiring a lock.
$this->container
->get('lock.persistent')
->acquire('dbal_test');
$this->container
->get('lock.persistent')
->release('dbal_test');
}