You are here

public function RoleWatchdogTest::testSettingsPageLoad in Role Watchdog 8

Tests that the settings form provided by module works.

File

tests/src/Functional/RoleWatchdogTest.php, line 49

Class

RoleWatchdogTest
Tests to ensure working of Role Watchdog modules.

Namespace

Drupal\Tests\role_watchdog\Functional

Code

public function testSettingsPageLoad() {
  $this
    ->drupalGet(Url::fromRoute('role_watchdog.role_watchdog_settings_form'));
  $this
    ->assertSession()
    ->statusCodeEquals(200);
}