You are here

public function ComposerDependencyTest::setUp in CloudFlare 8

Setup the test.

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ComposerDependencyTest.php, line 35

Class

ComposerDependencyTest
Tests \Drupal\cloudflare\Form\SettingsForm.

Namespace

Drupal\Tests\cloudflare\Functional

Code

public function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer cloudflare',
  ]);
  $this->route = Url::fromRoute('cloudflare.admin_settings_form');
  $this
    ->drupalLogin($this->adminUser);
}