diff --git a/qgis-app/plugins/tests/test_plugin_version_feedback.py b/qgis-app/plugins/tests/test_plugin_version_feedback.py index 278454ac..1a90a48e 100644 --- a/qgis-app/plugins/tests/test_plugin_version_feedback.py +++ b/qgis-app/plugins/tests/test_plugin_version_feedback.py @@ -331,7 +331,7 @@ def test_post_create_single_task_feedback(self): "feedback": "single line feedback" } ) - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 302) feedbacks = PluginVersionFeedback.objects.filter( version=self.version_2).all() self.assertEqual(len(feedbacks), 1) @@ -345,7 +345,7 @@ def test_post_create_multiple_task_feedback(self): "feedback": "- [ ] task one\n - [ ] task two" } ) - self.assertEqual(response.status_code, 200) + self.assertEqual(response.status_code, 302) feedbacks = PluginVersionFeedback.objects.filter( version=self.version_2).all() self.assertEqual(len(feedbacks), 2)