Skip to content

Commit

Permalink
Add fake sub in test claims
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklambrechts committed Apr 22, 2024
1 parent 1eb4aa8 commit c69e194
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/OpenIDConnectClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function testAuthenticateDoesNotThrowExceptionIfClaimsIsMissingNonce()
$fakeClaims = new StdClass();
$fakeClaims->iss = 'fake-issuer';
$fakeClaims->aud = 'fake-client-id';
$fakeClaims->sub = 'fake-sub';
$fakeClaims->nonce = null;

$_REQUEST['id_token'] = 'abc.123.xyz';
Expand Down

0 comments on commit c69e194

Please sign in to comment.