summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-12-03 14:25:05 +0000
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:58:49 +0200
commit40a83327d6fc6b6a93a4c54b1b152537ff2fafd5 (patch)
treec17a012af66ee9358292f27ba780aa51ca25c513 /ishtar_common/tests.py
parente5ee6a4bd748cd89bb07de2aa289d7ce88b91efe (diff)
downloadIshtar-40a83327d6fc6b6a93a4c54b1b152537ff2fafd5.tar.bz2
Ishtar-40a83327d6fc6b6a93a4c54b1b152537ff2fafd5.zip
adapting tests for #5172
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py2
1 files changed, 1 insertions, 1 deletions
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)