You are here

protected function CasUserInteractionTest::assertUserLoggedIn in CAS 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/CasUserInteractionTest.php \Drupal\Tests\cas\Functional\CasUserInteractionTest::assertUserLoggedIn()

Asserts that the user is logged in.

1 call to CasUserInteractionTest::assertUserLoggedIn()
CasUserInteractionTest::testUserInteraction in tests/src/Functional/CasUserInteractionTest.php
Tests user interaction.

File

tests/src/Functional/CasUserInteractionTest.php, line 84

Class

CasUserInteractionTest
Tests inserting user interaction into the flow.

Namespace

Drupal\Tests\cas\Functional

Code

protected function assertUserLoggedIn() {
  $this
    ->assertSession()
    ->linkExists('My account');
}