You are here

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\Functional

Code

public function testUserRestrictionsExpiredLogin() {
  $account = $this
    ->drupalCreateUser([], 'expired-user');
  $this
    ->drupalLogin($account);
}