You are here

public function SimpleRecaptchaWebformJavascriptTestBase::setUp in Simple Google reCAPTCHA 8

Overrides BrowserTestBase::setUp

File

modules/simple_recaptcha_webform/tests/src/FunctionalJavascript/SimpleRecaptchaWebformJavascriptTestBase.php, line 57

Class

SimpleRecaptchaWebformJavascriptTestBase
JavaScripts tests for the Simple reCAPTCHA webform module.

Namespace

Drupal\Tests\simple_recaptcha_webform\FunctionalJavascript

Code

public function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'administer site configuration',
    'administer simple_recaptcha',
    'access any webform configuration',
    'administer webform',
  ], 'webadmin');
}