public function RoleWatchdogTest::testLoad in Role Watchdog 8
Tests that the home page loads with a 200 response.
File
- tests/
src/ Functional/ RoleWatchdogTest.php, line 41
Class
- RoleWatchdogTest
- Tests to ensure working of Role Watchdog modules.
Namespace
Drupal\Tests\role_watchdog\FunctionalCode
public function testLoad() {
$this
->drupalGet(Url::fromRoute('<front>'));
$this
->assertSession()
->statusCodeEquals(200);
}