Skip to content

Commit

Permalink
Backend: Fix leaderboard schema failing tests (Cloud-CV#3601)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ram81 authored Oct 1, 2021
1 parent 58a95b0 commit 81f9c46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/challenges/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 81f9c46

Please sign in to comment.