mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-20 07:22:32 +00:00
[FIXED HUDSON-2224] Forcing the English locale during unit tests so that screen scrapers won't break.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11606 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
a24fd49d6a
commit
f347a6dd00
1 file changed
+5
@@ -28,6 +28,7 @@ import java.lang.reflect.Method;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Base class for all Hudson test cases.
|
||||
@@ -254,4 +255,8 @@ public abstract class HudsonTestCase extends TestCase {
|
||||
return super.getPage("http://localhost:"+localPort+contextPath+relative);
|
||||
}
|
||||
}
|
||||
|
||||
static {
|
||||
Locale.setDefault(Locale.ENGLISH);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user