You are here

protected function CropEntityProvidersTest::setUp in Crop API 8

Overrides CropUnitTestBase::setUp

File

tests/src/Kernel/CropEntityProvidersTest.php, line 24

Class

CropEntityProvidersTest
Tests entity provider plugins.

Namespace

Drupal\Tests\crop\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->container
    ->get('entity.manager')
    ->onEntityTypeCreate($this->container
    ->get('entity.manager')
    ->getDefinition('file'));
}