You are here

protected function EnablePhoneInternationalTest::setUp in International Phone 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/EnablePhoneInternationalTest.php \Drupal\Tests\phone_international\Functional\EnablePhoneInternationalTest::setUp()
  2. 3.x tests/src/Functional/EnablePhoneInternationalTest.php \Drupal\Tests\phone_international\Functional\EnablePhoneInternationalTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/EnablePhoneInternationalTest.php, line 45

Class

EnablePhoneInternationalTest
Simple test to ensure that main page loads with module enabled.

Namespace

Drupal\Tests\phone_international\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this
    ->drupalLogin($this->user);
}