You are here

protected function LinkitBrowserTestBase::setUp in Linkit 8.5

Overrides BrowserTestBase::setUp

2 calls to LinkitBrowserTestBase::setUp()
LinkitControllerTest::setUp in tests/src/Functional/Controller/LinkitControllerTest.php
MatcherAdminTest::setUp in tests/src/Functional/MatcherAdminTest.php
2 methods override LinkitBrowserTestBase::setUp()
LinkitControllerTest::setUp in tests/src/Functional/Controller/LinkitControllerTest.php
MatcherAdminTest::setUp in tests/src/Functional/MatcherAdminTest.php

File

tests/src/Functional/LinkitBrowserTestBase.php, line 41

Class

LinkitBrowserTestBase
Provides a base class for Linkit functional tests.

Namespace

Drupal\Tests\linkit\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->placeBlock('page_title_block');
  $this
    ->placeBlock('local_tasks_block');
  $this
    ->placeBlock('local_actions_block');
  $this
    ->placeBlock('system_messages_block');
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer linkit profiles',
  ]);
  $this->webUser = $this
    ->drupalCreateUser();
}