You are here

protected function LoginSecurityUserBlockingTest::assertTextLastPageAccess in Login Security 2.x

Assert Text of Last page access message.

1 call to LoginSecurityUserBlockingTest::assertTextLastPageAccess()
LoginSecurityUserBlockingTest::testLoginMessage in tests/src/Functional/LoginSecurityUserBlockingTest.php
Test login message.

File

tests/src/Functional/LoginSecurityUserBlockingTest.php, line 89

Class

LoginSecurityUserBlockingTest
Test Login Security's user-blocking restrictions and default messages.

Namespace

Drupal\Tests\login_security\Functional

Code

protected function assertTextLastPageAccess() {
  $this
    ->assertText('Your last page access (site activity) was ', 'Last page access message found.');
}