protected function LockTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Lock/LockTest.php \Drupal\KernelTests\Core\Lock\LockTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ Lock/ LockTest.php, line 22
Class
- LockTest
- Tests the Database lock backend.
Namespace
Drupal\KernelTests\Core\LockCode
protected function setUp() : void {
parent::setUp();
$this->lock = new DatabaseLockBackend($this->container
->get('database'));
}