Skip to content

Commit

Permalink
Fix test for layer acl QGIS server filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Sep 26, 2023
1 parent c9969ca commit 4f1774a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions g3w-admin/caching/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def test_tilestache_api(self):
client = Client()
layer = Layer.objects.get(project=self.project.instance, qgs_layer_id='spatialite_points20190604101052075')
assign_perm('view_project', self.anonymoususer, self.project.instance)
for l in self.project.instance.layer_set.all():
assign_perm("view_layer", self.anonymoususer, l)

# active caching for layer
cachinglayer = G3WCachingLayer.objects.create(app_name='qdjango', layer_id=layer.pk)
Expand Down

0 comments on commit 4f1774a

Please sign in to comment.