public function ForcePasswordChangeBrowserTestBase::assertStatusCodeEquals in Force Password Change 8
Same name and namespace in other branches
- 2.0.x tests/src/Functional/ForcePasswordChangeBrowserTestBase.php \Drupal\Tests\force_password_change\Functional\ForcePasswordChangeBrowserTestBase::assertStatusCodeEquals()
8 calls to ForcePasswordChangeBrowserTestBase::assertStatusCodeEquals()
- ForcePasswordChangeAdminUiTest::testForcePasswordChangeAdminPage in tests/
src/ Functional/ ForcePasswordChangeAdminUiTest.php - * Test that the admin UI page is properly linked to, that all the required elements * exist, and that the form is working properly
- ForcePasswordChangeFunctionalityTest::testAuthenticatedUserPasswordExpire in tests/
src/ Functional/ ForcePasswordChangeFunctionalityTest.php - ForcePasswordChangeFunctionalityTest::testDisableModuleInSettingsPhp in tests/
src/ Functional/ ForcePasswordChangeFunctionalityTest.php - ForcePasswordChangeFunctionalityTest::testFirstTimeLoginForce in tests/
src/ Functional/ ForcePasswordChangeFunctionalityTest.php - ForcePasswordChangeFunctionalityTest::testImmedidatePasswordForceForAuthenticated in tests/
src/ Functional/ ForcePasswordChangeFunctionalityTest.php - * Tests that users in the athenticated role that has it's passwords forced are forced * to change their password immediately when the settings are set for immediate * force.
File
- tests/
src/ Functional/ ForcePasswordChangeBrowserTestBase.php, line 12
Class
- ForcePasswordChangeBrowserTestBase
- Provides some helper functions for functional tests.
Namespace
Drupal\Tests\force_password_change\FunctionalCode
public function assertStatusCodeEquals($statusCode) {
$this
->assertSession()
->statusCodeEquals($statusCode);
}