From 81f9c4651f39214e1c73c45c2a5430d90dd9edcd Mon Sep 17 00:00:00 2001 From: Ram Ramrakhya Date: Fri, 1 Oct 2021 12:55:15 -0400 Subject: [PATCH] Backend: Fix leaderboard schema failing tests (#3601) --- tests/unit/challenges/test_views.py | 1 + 1 file changed, 1 insertion(+) 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)