Fix url check

This commit is contained in:
Martin Whitehouse 2022-06-20 17:35:40 +02:00
parent db358ceeaf
commit f18531acb0
No known key found for this signature in database
GPG Key ID: 8492A7A45769CD35

View File

@ -77,4 +77,4 @@ class KBTests(TestCase):
cat_url = reverse('helpdesk:kb_category', args=("test_cat",)) + "?kbitem=1&submitter_email=foo@bar.cz&title=lol&"
response = self.client.get(cat_url)
# Assert that query params are passed on to ticket submit form
self.assertContains(response, "'/helpdesk/tickets/submit/?queue=1&_readonly_fields_=queue&kbitem=1&submitter_email=foo%40bar.cz&title=lol")
self.assertContains(response, "'/tickets/submit/?queue=1&_readonly_fields_=queue&kbitem=1&submitter_email=foo%40bar.cz&title=lol")