diff options
author | Cefin <kevon@tuta.io> | 2021-12-03 14:25:05 +0000 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | 40a83327d6fc6b6a93a4c54b1b152537ff2fafd5 (patch) | |
tree | c17a012af66ee9358292f27ba780aa51ca25c513 | |
parent | e5ee6a4bd748cd89bb07de2aa289d7ce88b91efe (diff) | |
download | Ishtar-40a83327d6fc6b6a93a4c54b1b152537ff2fafd5.tar.bz2 Ishtar-40a83327d6fc6b6a93a4c54b1b152537ff2fafd5.zip |
adapting tests for #5172
-rw-r--r-- | ishtar_common/tests.py | 2 |
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) |