mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
test(security): make access denied locale deterministic
Signed-off-by: dongmucat <1127093059@qq.com>
This commit is contained in:
parent
a3336fe13b
commit
b630f871a1
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ class ApiAccessDeniedHandlerTest {
|
|||
ResourceBundleMessageSource messageSource = new ResourceBundleMessageSource();
|
||||
messageSource.setBasename("messages");
|
||||
messageSource.setDefaultEncoding("UTF-8");
|
||||
messageSource.setFallbackToSystemLocale(false);
|
||||
ApiResponseFactory responseFactory = new ApiResponseFactory(
|
||||
messageSource,
|
||||
Clock.fixed(Instant.parse("2026-07-28T00:00:00Z"), ZoneOffset.UTC)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue