From a018e5b0f7a4c5a95ed11cda0a8fe3427c11da93 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Mon, 4 Mar 2024 08:35:15 +0100 Subject: [PATCH] Fix #1366: testUpdateActivation_badRequest fails for a non-English locale --- .../powerauth/app/server/controller/RESTControllerAdvice.java | 2 +- .../src/test/resources/application-test.properties | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/controller/RESTControllerAdvice.java b/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/controller/RESTControllerAdvice.java index a9ec39b73..c8b8f9365 100644 --- a/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/controller/RESTControllerAdvice.java +++ b/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/controller/RESTControllerAdvice.java @@ -138,7 +138,7 @@ public class RESTControllerAdvice { } /** - * Resolver for validation xception. + * Resolver for validation exception. * * @param ex Exception. * @return Activation recovery error. diff --git a/powerauth-java-server/src/test/resources/application-test.properties b/powerauth-java-server/src/test/resources/application-test.properties index e1d502878..e6ddcbfee 100644 --- a/powerauth-java-server/src/test/resources/application-test.properties +++ b/powerauth-java-server/src/test/resources/application-test.properties @@ -31,3 +31,5 @@ powerauth.server.db.master.encryption.key=MTIzNDU2Nzg5MDEyMzQ1Ng== #logging.level.org.hibernate.orm.jdbc.bind=trace spring.liquibase.enabled=false + +spring.web.locale=en