From 5f25f0c87ddb92ec3dc8b0f6e25dde89c10af3f6 Mon Sep 17 00:00:00 2001 From: "pooya.oa" Date: Thu, 23 Jan 2025 10:05:17 +0100 Subject: [PATCH] fix: test issue with admin object --- ckanext/dataset_reference/tests/test_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/dataset_reference/tests/test_controller.py b/ckanext/dataset_reference/tests/test_controller.py index ef974ff..03cc5af 100644 --- a/ckanext/dataset_reference/tests/test_controller.py +++ b/ckanext/dataset_reference/tests/test_controller.py @@ -19,7 +19,7 @@ class TestControllers(object): @pytest.fixture(autouse=True) - def intial(self, clean_db, clean_index): + def intial(self): ctd.CreateTestData.create() sysadmin_user = model.User.get("testsysadmin") self.auth = {u"Authorization": str(sysadmin_user.apikey)}