You are here

protected function TeamViewBuilderTest::setUp in Apigee Edge 8

Throws

\Exception

Overrides KernelTestBase::setUp

File

modules/apigee_edge_teams/tests/src/Kernel/Entity/TeamViewBuilderTest.php, line 76

Class

TeamViewBuilderTest
Tests the Team view builder.

Namespace

Drupal\Tests\apigee_edge_teams\Kernel\Entity

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'apigee_edge',
  ]);
  $this
    ->installConfig([
    'apigee_edge_teams',
  ]);
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('team_member_role');
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this
    ->installSchema('user', [
    'users_data',
  ]);
  $this
    ->apigeeTestHelperSetup();
  $this
    ->addOrganizationMatchedResponse();
  $this->entity = $this
    ->createTeam();
}