mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 18:46:46 +00:00
test/Tweak default to date value in order to prevent cache issue
This commit is contained in:
parent
e14f1c7d3a
commit
aeef581dff
@ -295,7 +295,7 @@ class APIUtilTest extends FeatureSpec with Matchers with GivenWhenThen with Prop
|
||||
val returnValue = getToDate(httpParams)
|
||||
returnValue.toString should startWith("Full(OBPToDate")
|
||||
|
||||
val currentTime = OBPToDate(DefaultToDate)
|
||||
val currentTime = OBPToDate(ToDateInFuture)
|
||||
val beWithinTolerance = be >= startTime and be <= currentTime
|
||||
returnValue.orNull should beWithinTolerance
|
||||
}
|
||||
@ -309,7 +309,7 @@ class APIUtilTest extends FeatureSpec with Matchers with GivenWhenThen with Prop
|
||||
val returnValue = getToDate(httpParams)
|
||||
returnValue.toString should startWith("Full(OBPToDate")
|
||||
|
||||
val currentTime = OBPToDate(DefaultToDate)
|
||||
val currentTime = OBPToDate(ToDateInFuture)
|
||||
val beWithinTolerance = be >= startTime and be <= currentTime
|
||||
returnValue.orNull should beWithinTolerance
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user