Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Sep 11, 2024
1 parent 22ab363 commit 4955a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qgis-app/plugins/tests/test_plugin_version_feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 4955a95

Please sign in to comment.