You are here

protected function EntitySchemaTest::refreshServices in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php \Drupal\KernelTests\Core\Entity\EntitySchemaTest::refreshServices()

Refresh services.

Overrides EntityKernelTestBase::refreshServices

File

core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php, line 294

Class

EntitySchemaTest
Tests the default entity storage schema handler.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function refreshServices() {
  parent::refreshServices();
  $this->database = $this->container
    ->get('database');
}