Skip to content

Commit

Permalink
Fix request variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ElisDN committed May 4, 2021
1 parent a603133 commit 9ccc922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/AuthorizationValidators/BearerTokenValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public function testBearerTokenValidatorAcceptsValidToken()

$request = (new ServerRequest())->withHeader('authorization', \sprintf('Bearer %s', $validJwt->toString()));

$response = $bearerTokenValidator->validateAuthorization($request);
$validRequest = $bearerTokenValidator->validateAuthorization($request);

$this->assertArrayHasKey('authorization', $response->getHeaders());
$this->assertArrayHasKey('authorization', $validRequest->getHeaders());
}

public function testBearerTokenValidatorRejectsExpiredToken()
Expand Down

0 comments on commit 9ccc922

Please sign in to comment.