You are here

protected function RedisLockTest::setUp in Redis 8

Overrides LockTest::setUp

File

tests/src/Kernel/RedisLockTest.php, line 44

Class

RedisLockTest
Tests the Redis non-persistent lock backend.

Namespace

Drupal\Tests\redis\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->lock = $this->container
    ->get('lock');
}