From 321102e12c84c2029927c5fdfe6df6d8fe98d32c Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Fri, 3 Sep 2021 11:42:54 +0200 Subject: [PATCH] Make NewLocation tests locale independant (#2325) --- lemonldap-ng-portal/t/61-NewLocationWarning-Custom.t | 4 ++++ lemonldap-ng-portal/t/61-NewLocationWarning.t | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lemonldap-ng-portal/t/61-NewLocationWarning-Custom.t b/lemonldap-ng-portal/t/61-NewLocationWarning-Custom.t index 8d51b9012..cb9a96c33 100644 --- a/lemonldap-ng-portal/t/61-NewLocationWarning-Custom.t +++ b/lemonldap-ng-portal/t/61-NewLocationWarning-Custom.t @@ -2,6 +2,10 @@ use Test::More; use strict; use IO::String; +use POSIX qw(locale_h); +use locale; +setlocale(LC_TIME, "C"); + BEGIN { eval { require 't/test-lib.pm'; diff --git a/lemonldap-ng-portal/t/61-NewLocationWarning.t b/lemonldap-ng-portal/t/61-NewLocationWarning.t index bb1485b9c..106767600 100644 --- a/lemonldap-ng-portal/t/61-NewLocationWarning.t +++ b/lemonldap-ng-portal/t/61-NewLocationWarning.t @@ -2,6 +2,10 @@ use Test::More; use strict; use IO::String; +use POSIX qw(locale_h); +use locale; +setlocale(LC_TIME, "C"); + BEGIN { eval { require 't/test-lib.pm';