You are here

protected function PermissionsTest::setUp in Metatag 8

Overrides BrowserTestBase::setUp

File

metatag_extended_perms/tests/src/Functional/PermissionsTest.php, line 83

Class

PermissionsTest
Verify the new permissions are added.

Namespace

Drupal\Tests\metatag_extended_perms\Functional

Code

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

  // Log in as the super admin.
  $this
    ->loginUser1();

  // Create a content type with a Metatag field.
  $this
    ->createContentType();
  $this
    ->drupalGet('admin/people/permissions');
}