From eb0bfdbd21b2cc59fcca4f6221c65e7da31cb9b9 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Sun, 2 Feb 2020 15:26:29 +0200 Subject: [PATCH] Move bad test fail one year forward --- webapp/tests/test_contact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/tests/test_contact.py b/webapp/tests/test_contact.py index 747fbf7..c357730 100644 --- a/webapp/tests/test_contact.py +++ b/webapp/tests/test_contact.py @@ -74,7 +74,7 @@ class ContactsTestCase(APITestCase): self.assertEqual(response.status_code, status.HTTP_200_OK) serializer = OccupationSerializer( - Occupation.by_year(2019), + Occupation.by_year(2020), many=True ) self.assertEqual(response.data["results"], serializer.data)