public function CloudFlareAdminSettingsInvalidFormTest::setUp in CloudFlare 8
Setup the test.
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ CloudFlareAdminSettingsInvalidFormTest.php, line 38
Class
- CloudFlareAdminSettingsInvalidFormTest
- Tests \Drupal\purge_ui\Form\CloudFlareAdminSettingsForm.
Namespace
Drupal\Tests\cloudflare\FunctionalCode
public function setUp() {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'administer cloudflare',
]);
$this->route = Url::fromRoute('cloudflare.admin_settings_form');
ComposerDependenciesCheckMock::mockComposerDependenciesMet(TRUE);
}