You are here

protected function FBLikeboxBlockTest::setUp in Facebook Page Plugin 8.2

Overrides BrowserTestBase::setUp

File

tests/src/Functional/FBLikeboxBlockTest.php, line 24

Class

FBLikeboxBlockTest
Tests if the facebook likebox block is available.

Namespace

Drupal\Tests\fb_likebox\Functional

Code

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

  // Create and login user.
  $admin_user = $this
    ->drupalCreateUser([
    'administer blocks',
    'administer site configuration',
    'access administration pages',
  ]);
  $this
    ->drupalLogin($admin_user);
}