From 40a83327d6fc6b6a93a4c54b1b152537ff2fafd5 Mon Sep 17 00:00:00 2001 From: Cefin Date: Fri, 3 Dec 2021 14:25:05 +0000 Subject: adapting tests for #5172 --- ishtar_common/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index b14cc5ab3..7d70db8f5 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -3582,7 +3582,7 @@ class DocumentTest(TestCase): doc = models.Document.objects.create(title="Parent document") doc.operations.add(self.ope1) c = Client() - url = reverse("create-document-source", args=[doc.pk]) + url = reverse("create-document") + f"?source_pk={doc.pk}" nb_doc = models.Document.objects.count() response = c.get(url) -- cgit v1.2.3