You are here

protected function UiTest::setUp in Apigee Edge 8

Overrides ApigeeEdgeFunctionalTestBase::setUp

File

modules/apigee_edge_teams/tests/src/Functional/UiTest.php, line 90

Class

UiTest
Team and team app entity UI tests.

Namespace

Drupal\Tests\apigee_edge_teams\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->teamStorage = $this->container
    ->get('entity_type.manager')
    ->getStorage('team');
  $this
    ->installExtraModules([
    'block',
  ]);
  $this
    ->drupalPlaceBlock('system_breadcrumb_block');
  $this
    ->drupalPlaceBlock('local_tasks_block');
  $this
    ->drupalPlaceBlock('local_actions_block');
  $this->product = $this
    ->createProduct();
  $this->account = $this
    ->createAccount([
    'administer team',
  ]);
  $this->otherAccount = $this
    ->createAccount();
  $this
    ->addFieldsToEntities();
}