public function DatabaseStorageSortedTestBase::setUp in Key-value Extensions 8
Overrides KernelTestBase::setUp
2 calls to DatabaseStorageSortedTestBase::setUp()
2 methods override DatabaseStorageSortedTestBase::setUp()
File
- src/
Tests/ DatabaseStorageSortedTestBase.php, line 31
Class
Namespace
Drupal\key_value\TestsCode
public function setUp() {
parent::setUp();
$this
->installSchema('key_value', [
'key_value_sorted',
]);
$this->collection = $this
->randomMachineName();
$this->serializer = \Drupal::service('serialization.phpserialize');
$this->connection = \Drupal::service('database');
}