diff --git a/tests/unit/challenges/test_views.py b/tests/unit/challenges/test_views.py index 584d614996..3e4f8b5964 100644 --- a/tests/unit/challenges/test_views.py +++ b/tests/unit/challenges/test_views.py @@ -4005,6 +4005,7 @@ def test_update_leaderboard_with_all_data(self): "challenges:get_or_update_leaderboard", kwargs={"leaderboard_pk": self.leaderboard.pk}, ) + self.data["schema"] = json.dumps(self.data["schema"]) response = self.client.patch(self.url, self.data) self.assertEqual(response.status_code, status.HTTP_200_OK)