now really fixed this test. The additional assertion (call of Console.warn) occured with non-english browsers, because the language resource could not be found. Setting the language to the default language for this test fixes the problem.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6335 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -667,7 +667,9 @@
|
|||||||
|
|
||||||
function test_Util_getArgs(t) {
|
function test_Util_getArgs(t) {
|
||||||
//DEPRECATED -- to be removed in 3.0
|
//DEPRECATED -- to be removed in 3.0
|
||||||
t.plan(4);
|
t.plan(3);
|
||||||
|
|
||||||
|
OpenLayers.Lang.setCode(OpenLayers.Lang.defaultCode);
|
||||||
|
|
||||||
var temp = OpenLayers.Console.warn;
|
var temp = OpenLayers.Console.warn;
|
||||||
OpenLayers.Console.warn = function(err) {
|
OpenLayers.Console.warn = function(err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user