Fixed that validityDateTimeForChallenge has been renamed to tanExpirationTime

This commit is contained in:
dankito 2024-09-09 00:45:30 +02:00
parent c4f504dd0a
commit be2908517f
1 changed files with 2 additions and 2 deletions

View File

@ -966,7 +966,7 @@ class ResponseParserTest : FinTsTestBase() {
assertEquals(TanResponse.NoJobReferenceResponse, segment.jobReference) assertEquals(TanResponse.NoJobReferenceResponse, segment.jobReference)
assertEquals(TanResponse.NoChallengeResponse, segment.challenge) assertEquals(TanResponse.NoChallengeResponse, segment.challenge)
assertNull(segment.challengeHHD_UC) assertNull(segment.challengeHHD_UC)
assertEquals(null, segment.validityDateTimeForChallenge) assertEquals(null, segment.tanExpirationTime)
assertEquals(null, segment.tanMediaIdentifier) assertEquals(null, segment.tanMediaIdentifier)
} }
?: run { fail("No segment of type TanResponse found in ${result.receivedSegments}") } ?: run { fail("No segment of type TanResponse found in ${result.receivedSegments}") }
@ -995,7 +995,7 @@ class ResponseParserTest : FinTsTestBase() {
assertEquals(jobReference, segment.jobReference) assertEquals(jobReference, segment.jobReference)
assertEquals(unmaskString(challenge), segment.challenge) assertEquals(unmaskString(challenge), segment.challenge)
assertEquals(challengeHHD_UC, segment.challengeHHD_UC) assertEquals(challengeHHD_UC, segment.challengeHHD_UC)
assertEquals(null, segment.validityDateTimeForChallenge) assertEquals(null, segment.tanExpirationTime)
assertEquals(tanMediaIdentifier, segment.tanMediaIdentifier) assertEquals(tanMediaIdentifier, segment.tanMediaIdentifier)
} }
?: run { fail("No segment of type TanResponse found in ${result.receivedSegments}") } ?: run { fail("No segment of type TanResponse found in ${result.receivedSegments}") }