error in test case

This commit is contained in:
jonaswinkler 2020-12-22 17:08:30 +01:00
parent 802c765310
commit 4268d3a36f

View File

@ -896,7 +896,7 @@ class TestBulkEdit(DirectoriesMixin, APITestCase):
response = self.client.post("/api/documents/bulk_edit/", json.dumps({
"documents": [self.doc2.id],
"method": "add_tag",
"parameters": {'document_type': 345657}
"parameters": {'tag': 345657}
}), content_type='application/json')
self.assertEqual(response.status_code, 400)