From 3b99a244d311903ad5c592ab0801bc56124d24da Mon Sep 17 00:00:00 2001 From: TheLydonKing Date: Mon, 23 Oct 2023 13:15:20 +0200 Subject: [PATCH] Fixed ConfigProviderTest --- .../absa/loginsvc/rest/config/provider/ConfigProviderTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/test/scala/za/co/absa/loginsvc/rest/config/provider/ConfigProviderTest.scala b/service/src/test/scala/za/co/absa/loginsvc/rest/config/provider/ConfigProviderTest.scala index 7ba482d..b616d81 100644 --- a/service/src/test/scala/za/co/absa/loginsvc/rest/config/provider/ConfigProviderTest.scala +++ b/service/src/test/scala/za/co/absa/loginsvc/rest/config/provider/ConfigProviderTest.scala @@ -38,7 +38,7 @@ class ConfigProviderTest extends AnyFlatSpec with Matchers { val keyConfig: KeyConfig = configProvider.getJWTConfig assert(keyConfig.algName == "RS256" && keyConfig.accessExpTime == FiniteDuration(15, TimeUnit.MINUTES) && - keyConfig.refreshKeyTime.get == FiniteDuration(9, TimeUnit.HOURS) + keyConfig.refreshKeyTime.get == FiniteDuration(5, TimeUnit.SECONDS) ) }