fix by review

This commit is contained in:
moririn2528
2023-09-11 16:31:39 +09:00
parent 23db3e7c4e
commit b0ed82af7e
6 changed files with 38 additions and 46 deletions
+2 -12
View File
@@ -234,12 +234,7 @@ class APITestCase(TestCase):
status, _, _ = send_request(
app,
f"/api/studies/{study_id}/preference/{history_id}",
"PUT",
body=json.dumps(
{
"enable": False,
}
),
"DELETE",
content_type="application/json",
)
self.assertEqual(status, 204)
@@ -251,12 +246,7 @@ class APITestCase(TestCase):
status, _, _ = send_request(
app,
f"/api/studies/{study_id}/preference/{history_id}",
"PUT",
body=json.dumps(
{
"enable": True,
}
),
"POST",
content_type="application/json",
)
self.assertEqual(status, 204)