Force english language during unit testing

Fixes #1536
This commit is contained in:
games647 2018-04-05 15:16:46 +02:00
parent 1f9bf38755
commit 80538b4bb2
No known key found for this signature in database
GPG Key ID: BFC68C8708713A88

View File

@ -172,7 +172,8 @@
<version>2.20.1</version>
<configuration>
<!-- Force the right file encoding during unit testing -->
<argLine>-Dfile.encoding=${project.build.sourceEncoding} @{argLine}</argLine>
<!-- Set language to English in order to get consistent results for localized time formatting -->
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Duser.language=en @{argLine}</argLine>
<systemPropertyVariables>
<project.skipExtendedHashTests>${project.skipExtendedHashTests}</project.skipExtendedHashTests>
</systemPropertyVariables>