From 1c51a139038c14a18dcecde8c528333eaf794d6a Mon Sep 17 00:00:00 2001 From: bartvde Date: Fri, 19 Mar 2010 11:22:13 +0000 Subject: [PATCH] fix up tests for Google Layer if there is no valid key (closes #2535) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10122 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Layer/Google.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Layer/Google.html b/tests/Layer/Google.html index 143a8f3e90..9961e2b631 100644 --- a/tests/Layer/Google.html +++ b/tests/Layer/Google.html @@ -60,6 +60,10 @@ layer.destroy(); clone.destroy(); + } else { + t.plan(0); + t.debug_print("Google tests can't be run from " + + window.location.host); } }