From dc3859d5892ef2940ddbd203abc6b1ec4b955f90 Mon Sep 17 00:00:00 2001 From: moanos Date: Fri, 22 Nov 2024 11:56:11 +0100 Subject: [PATCH] test: fix search test --- src/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/test_views.py b/src/tests/test_views.py index 9365257..ad1469c 100644 --- a/src/tests/test_views.py +++ b/src/tests/test_views.py @@ -120,7 +120,7 @@ class SearchTest(TestCase): self.assertNotContains(response, "TestAdoption2") def test_plz_search(self): - response = self.client.post(reverse('search'), {"max_distance": 100, "location": "Berlin"}) + response = self.client.post(reverse('search'), {"max_distance": 100, "location": "Berlin", "sex": "A"}) self.assertEqual(response.status_code, 200) self.assertContains(response, "TestAdoption1") self.assertNotContains(response, "TestAdoption3")