You are here

protected function EntityRevisionLogTraitTest::setUp in Entity API 8.0

Overrides KernelTestBase::setUp

File

tests/src/Kernel/EntityRevisionLogTraitTest.php, line 29
Contains \Drupal\Tests\entity\Kernel\EntityRevisionLogTraitTest.

Class

EntityRevisionLogTraitTest
@coversDefaultClass \Drupal\entity\Revision\EntityRevisionLogTrait @group entity

Namespace

Drupal\Tests\entity\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('system', 'sequences');
  $bundle = EnhancedEntityBundle::create([
    'id' => 'default',
    'label' => 'Default',
  ]);
  $bundle
    ->save();
}