diff --git a/onadata/apps/api/tests/views/test_user_permissions.py b/onadata/apps/api/tests/views/test_user_permissions.py index 81b81c9b12..90fb0924a1 100644 --- a/onadata/apps/api/tests/views/test_user_permissions.py +++ b/onadata/apps/api/tests/views/test_user_permissions.py @@ -87,6 +87,8 @@ def test_manager_can_update_xform(self): # More info: https://code.djangoproject.com/ticket/30024 data.pop("enketo_preview_url") data.pop("last_submission_time") + data.pop("contributes_entities_to") + data.pop("consumes_entities_from") request = self.factory.put("/", data=data, **self.extra) response = view(request, pk=self.xform.id)