You are here

protected function PathologicUITest::setUp in Pathologic 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/PathologicUITest.php, line 27

Class

PathologicUITest
Tests for the Pathologic UI.

Namespace

Drupal\Tests\pathologic\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalCreateContentType([
    'type' => 'page',
    'name' => 'Basic page',
  ]);
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'administer filters',
    'create page content',
  ]));
}