From 3034024956a1e875e1c57ace5576d27df49e6fa4 Mon Sep 17 00:00:00 2001 From: Tybo Verslype <97916632+tyboro2002@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:39:59 +0200 Subject: [PATCH] Update test_course.py --- backend/api/tests/test_course.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/api/tests/test_course.py b/backend/api/tests/test_course.py index 7133af5a..d431ddfb 100644 --- a/backend/api/tests/test_course.py +++ b/backend/api/tests/test_course.py @@ -821,7 +821,7 @@ def test_create_project(self): follow=True, ) - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 201) self.assertTrue(course.projects.filter(name="become champions").exists()) # Make sure there are no groups automatically made @@ -852,7 +852,7 @@ def test_create_project_with_zip_file_as_structure(self): follow=True, ) - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 201) self.assertTrue(course.projects.filter(name="become champions").exists()) # Make sure there are structure checks added to the project @@ -881,7 +881,7 @@ def test_create_project_with_number_groups(self): follow=True, ) - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 201) self.assertTrue(course.projects.filter(name="become champions").exists()) # Make sure the groups are created @@ -926,7 +926,7 @@ def test_create_individual_project(self): follow=True, ) - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 201) self.assertTrue(course.projects.filter(name="become champions").exists()) # Make sure the groups are created