From 1cb936f624dcaf7865e8d6100fb3d1cfeb652cc2 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 8 Apr 2019 23:54:50 +0200 Subject: Fix geo tests --- ishtar_common/tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ishtar_common/tests.py') diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 17cc874fe..0599a1599 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -1591,6 +1591,9 @@ class GeomaticTest(TestCase): def save(self, *args, **kwargs): pass + profile = models.get_current_profile() + profile.mapping = True + profile.save() srs = models.SpatialReferenceSystem.objects.create( label='WGS84', txt_idx='wgs84', srid=4326 -- cgit v1.2.3