Skip to content

Commit

Permalink
tests: Remove now obsolete test.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Feb 18, 2021
1 parent 2c4349f commit 5c635f9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions spec/EcPhp/CasBundle/Security/CasGuardAuthenticatorSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,21 +201,6 @@ public function it_can_redirect_on_success_authentication(TokenInterface $token)
->shouldHaveKeyWithValue('location', ['http://app/?param.key=value']);
}

public function it_can_redirect_on_success_logout()
{
$request = Request::create('http://app/?ticket=ticket');

$this
->onLogoutSuccess($request)
->shouldBeAnInstanceOf(RedirectResponse::class);

$this
->onLogoutSuccess($request)
->headers
->all()
->shouldHaveKeyWithValue('location', ['http://local/cas/logout']);
}

public function it_can_redirect_to_the_login_url()
{
$request = Request::create('http://app/?ticket=ticket');
Expand Down

0 comments on commit 5c635f9

Please sign in to comment.