You are here

protected function EntitySchemaTest::refreshServices in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Entity/EntitySchemaTest.php \Drupal\system\Tests\Entity\EntitySchemaTest::refreshServices()

Refresh services.

Overrides EntityUnitTestBase::refreshServices

File

core/modules/system/src/Tests/Entity/EntitySchemaTest.php, line 121
Contains \Drupal\system\Tests\Entity\EntitySchemaTest.

Class

EntitySchemaTest
Tests adding a custom bundle field.

Namespace

Drupal\system\Tests\Entity

Code

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