You are here

protected function EnablePhoneInternationalTest::setUp in International Phone 3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/EnablePhoneInternationalTest.php \Drupal\Tests\phone_international\Functional\EnablePhoneInternationalTest::setUp()
  2. 8 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() : void {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this
    ->drupalLogin($this->user);
}