public function FloodUnblockUiPageTest::testFloodUnblockUiPageSimpleUser in Flood Unblock 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/FloodUnblockUiPageTest.php \Drupal\Tests\flood_unblock\Functional\FloodUnblockUiPageTest::testFloodUnblockUiPageSimpleUser()
File
- tests/
src/ Functional/ FloodUnblockUiPageTest.php, line 56
Class
- FloodUnblockUiPageTest
- Tests that the Flood Unblock UI pages are reachable.
Namespace
Drupal\Tests\flood_unblock\FunctionalCode
public function testFloodUnblockUiPageSimpleUser() {
$this
->drupalLogin($this->simple_user);
$this
->drupalGet('admin/config/system/flood-unblock');
$this
->assertSession()
->statusCodeEquals(403, 'Status code is equal to 403');
}