diff --git a/backend/contest/tests.py b/backend/contest/tests.py index 0efae5502..829db2c8c 100644 --- a/backend/contest/tests.py +++ b/backend/contest/tests.py @@ -267,6 +267,7 @@ def test_create_problem_bank(self): self.create_user("2018123123", "123123") url = self.reverse("contest_bank_api") response = self.client.post(url, data={"contest_id": contest["id"]}) + self.assertSuccess(response) class UserContestAPITest(APITestCase): diff --git a/frontend/src/pages/oj/views/problem/Problem.vue b/frontend/src/pages/oj/views/problem/Problem.vue index def6e74f0..168b82c58 100644 --- a/frontend/src/pages/oj/views/problem/Problem.vue +++ b/frontend/src/pages/oj/views/problem/Problem.vue @@ -347,7 +347,6 @@ export default { ProblemSidebar, login, register, - profileSetting, Table, VueResizable, UserSetting