You are here

protected function SimpleInstagramFeedTest::setUp in Simple Instagram Feed Block 8.3

Same name and namespace in other branches
  1. 1.0.x tests/src/Functional/SimpleInstagramFeedTest.php \Drupal\Tests\simple_instagram_feed\Functional\SimpleInstagramFeedTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/SimpleInstagramFeedTest.php, line 34

Class

SimpleInstagramFeedTest
Provides a class for Simple Instagram Feed functional tests.

Namespace

Drupal\Tests\simple_instagram_feed\Functional

Code

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

  // Create admin user.
  $this->adminUser = $this
    ->drupalCreateUser([
    'view the administration theme',
    'access administration pages',
    'administer blocks',
  ]);
}