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
This commit is contained in:
bartvde
2010-03-19 11:22:13 +00:00
parent c1409ee57d
commit 1c51a13903

View File

@@ -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);
}
}