summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-04-28 12:44:38 -0400
committerJames Moger <james.moger@gitblit.com>2014-04-28 12:44:38 -0400
commita8100bb4d3aa64e254e92e29130e8fd9bd4e0dd2 (patch)
tree26d4dc5aad3ad3d72a53f19715e375ea1ba324a6 /src/test
parent3e3581286bdf064cabb46b2c30bca73e6a78ea58 (diff)
downloadgitblit-a8100bb4d3aa64e254e92e29130e8fd9bd4e0dd2.tar.gz
gitblit-a8100bb4d3aa64e254e92e29130e8fd9bd4e0dd2.zip
Fix forcing default locale to en or LANG_CC for web ui
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/gitblit/tests/mock/MockRuntimeManager.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/com/gitblit/tests/mock/MockRuntimeManager.java b/src/test/java/com/gitblit/tests/mock/MockRuntimeManager.java
index 8e518de5..6e56a873 100644
--- a/src/test/java/com/gitblit/tests/mock/MockRuntimeManager.java
+++ b/src/test/java/com/gitblit/tests/mock/MockRuntimeManager.java
@@ -17,6 +17,7 @@ package com.gitblit.tests.mock;
import java.io.File;
import java.util.Date;
+import java.util.Locale;
import java.util.Map;
import java.util.TimeZone;
@@ -71,6 +72,11 @@ public class MockRuntimeManager implements IRuntimeManager {
}
@Override
+ public Locale getLocale() {
+ return Locale.getDefault();
+ }
+
+ @Override
public boolean isServingRepositories() {
return true;
}