public function RestrictIpBrowserTestBase::assertStatusCodeEquals in Restrict IP 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/RestrictIpBrowserTestBase.php \Drupal\Tests\restrict_ip\Functional\RestrictIpBrowserTestBase::assertStatusCodeEquals()
- 3.x tests/src/Functional/RestrictIpBrowserTestBase.php \Drupal\Tests\restrict_ip\Functional\RestrictIpBrowserTestBase::assertStatusCodeEquals()
8 calls to RestrictIpBrowserTestBase::assertStatusCodeEquals()
- RestrictIpAccessTest::testAccessBypassByRole in tests/
src/ Functional/ RestrictIpAccessTest.php - RestrictIpAccessTest::testBlacklistedPaths in tests/
src/ Functional/ RestrictIpAccessTest.php - RestrictIpAccessTest::testEmailAddressDisplays in tests/
src/ Functional/ RestrictIpAccessTest.php - RestrictIpAccessTest::testIpWhitelist in tests/
src/ Functional/ RestrictIpAccessTest.php - * Test that a user is not blocked if their IP address is whitelisted when the module is enabled
- RestrictIpAccessTest::testModuleEnabled in tests/
src/ Functional/ RestrictIpAccessTest.php - * Test that a user is blocked when the module is enabled
File
- tests/
src/ Functional/ RestrictIpBrowserTestBase.php, line 12
Class
- RestrictIpBrowserTestBase
- Provides some helper functions for functional tests.
Namespace
Drupal\Tests\restrict_ip\FunctionalCode
public function assertStatusCodeEquals($statusCode) {
$this
->assertSession()
->statusCodeEquals($statusCode);
}