SimpleRecaptchaWebformTest.php in Simple Google reCAPTCHA 8
File
modules/simple_recaptcha_webform/tests/src/Functional/SimpleRecaptchaWebformTest.php
View source
<?php
namespace Drupal\Tests\simple_recaptcha_webform\Functional;
class SimpleRecaptchaWebformTest extends SimpleRecaptchaWebformTestBase {
public function testWebformPage() {
$this
->drupalLogin($this->user);
$this
->drupalGet('/admin/structure/webform/manage/simple_recaptcha_v2');
$this
->assertSession()
->statusCodeEquals(200);
$this
->drupalGet('/admin/structure/webform/manage/simple_recaptcha_v2/handlers/recaptcha/edit');
$this
->assertSession()
->statusCodeEquals(200);
$this
->drupalLogout();
}
}