You are here

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

Assert NO Text of Last page access message.

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

File

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

Class

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

Namespace

Drupal\Tests\login_security\Functional

Code

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