aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2020-10-05 18:20:43 +0530
committerGravatar RohanJnr <[email protected]>2020-10-05 18:20:43 +0530
commit69342e8cc952ff2dd25ac50f7a80d30e6d409a0f (patch)
treeaaaf2fd8ebcd1427f1a2f52221074306186286f7 /pydis_site
parentreturn next and previous page numbers in paginator instead of links (diff)
Change test case to use updated code
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/api/tests/test_users.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/tests/test_users.py b/pydis_site/apps/api/tests/test_users.py
index 1f9bd687..affc2c48 100644
--- a/pydis_site/apps/api/tests/test_users.py
+++ b/pydis_site/apps/api/tests/test_users.py
@@ -213,7 +213,7 @@ class MultiPatchTests(APISubdomainTestCase):
}
]
response = self.client.patch(url, data=data)
- self.assertEqual(response.status_code, 404)
+ self.assertEqual(response.status_code, 400)
def test_returns_400_for_bad_data(self):
url = reverse("bot:user-bulk-patch", host="api")