You are here

protected function BookTest::setUp in Token 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/BookTest.php, line 25

Class

BookTest
Test the book tokens.

Namespace

Drupal\Tests\token\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installSchema('book', [
    'book',
  ]);
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installConfig([
    'node',
    'book',
    'field',
  ]);
}