Skip to content

Commit

Permalink
Updated unit tests to reflect updated exception
Browse files Browse the repository at this point in the history
  • Loading branch information
iNinja committed Oct 23, 2024
1 parent 05bf577 commit 2b495d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static TheoryData<TokenReplayTheoryData> TokenReplayValidationTestCases
new TokenReplayTheoryData
{
TestId = "Invalid_ReplayCacheIsPresent_ExpirationTimeIsNull",
ExpectedException = ExpectedException.SecurityTokenReplayDetected("IDX10227:"),
ExpectedException = ExpectedException.SecurityTokenNoExpirationException("IDX10227:"),
ExpirationTime = null,
SecurityToken = "token",
ValidationParameters = new ValidationParameters
Expand Down

0 comments on commit 2b495d2

Please sign in to comment.