You are here

public function DatabaseStorageSortedSetTest::setUp in Key-value Extensions 8

Overrides DatabaseStorageSortedTestBase::setUp

File

src/Tests/DatabaseStorageSortedSetTest.php, line 17

Class

DatabaseStorageSortedSetTest
Tests the sorted set key-value database storage.

Namespace

Drupal\key_value\Tests

Code

public function setUp() {
  parent::setUp();
  $this->store = \Drupal::service('keyvalue.sorted_set')
    ->get($this->collection);
}