aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/tests
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/apps/api/tests')
-rw-r--r--pydis_site/apps/api/tests/test_infractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/tests/test_infractions.py b/pydis_site/apps/api/tests/test_infractions.py
index 4830833c..af568ea1 100644
--- a/pydis_site/apps/api/tests/test_infractions.py
+++ b/pydis_site/apps/api/tests/test_infractions.py
@@ -329,7 +329,7 @@ class InfractionTests(AuthenticatedAPITestCase):
def test_partial_update_returns_400_for_frozen_field(self):
url = reverse('api:bot:infraction-detail', args=(self.ban_hidden.id,))
- data = {'user': 6, 'active': True}
+ data = {'user': 6}
response = self.client.patch(url, data=data)
self.assertEqual(response.status_code, 400)