public function UserRestrictionsExpireTest::testUserRestrictionsExpiredLogin in User restrictions 8
Ensure an expired user may now log in.
File
- tests/
src/ Functional/ UserRestrictionsExpireTest.php, line 28
Class
- UserRestrictionsExpireTest
- Tests rule expirations.
Namespace
Drupal\Tests\user_restrictions\FunctionalCode
public function testUserRestrictionsExpiredLogin() {
$account = $this
->drupalCreateUser([], 'expired-user');
$this
->drupalLogin($account);
}