You are here

protected function FontYourFaceLocalFontInstallTest::setUp in @font-your-face 8.3

Overrides BrowserTestBase::setUp

File

tests/src/Functional/FontYourFaceLocalFontInstallTest.php, line 37

Class

FontYourFaceLocalFontInstallTest
Tests that installing @font-your-face local fonts module is not broken.

Namespace

Drupal\Tests\fontyourface\Functional

Code

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

  // Create and log in an administrative user.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer font entities',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}