You are here

protected function ContentTypeViewModeCreateTest::setUp in Facebook Instant Articles 3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/ContentTypeViewModeCreateTest.php \Drupal\Tests\fb_instant_articles\Functional\ContentTypeViewModeCreateTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ContentTypeViewModeCreateTest.php, line 57

Class

ContentTypeViewModeCreateTest
Test toggling the FBIA view mode while creating the content type.

Namespace

Drupal\Tests\fb_instant_articles\Functional

Code

protected function setUp() : void {
  parent::setUp();

  // Login as an admin user.
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
  $this
    ->drupalLogin($this->adminUser);
}