mirror of
https://github.com/Hopiu/django.git
synced 2026-04-01 05:40:32 +00:00
Updated WMS URL in geoadmin test.
This commit is contained in:
parent
45284a90a5
commit
c2139bbcef
1 changed files with 1 additions and 1 deletions
|
|
@ -31,5 +31,5 @@ class GeoAdminTest(TestCase):
|
|||
result = geoadmin.get_map_widget(City._meta.get_field('point'))(
|
||||
).render('point', Point(-79.460734, 40.18476))
|
||||
self.assertIn(
|
||||
"""geodjango_point.layers.base = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", {layers: \'basic\', format: 'image/jpeg'});""",
|
||||
"""geodjango_point.layers.base = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0", {layers: \'basic\', format: 'image/jpeg'});""",
|
||||
result)
|
||||
|
|
|
|||
Loading…
Reference in a new issue