From 4268d3a36fda4fa11b1e1ef7e4008a32d541fd76 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Tue, 22 Dec 2020 17:08:30 +0100 Subject: [PATCH] error in test case --- src/documents/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/tests/test_api.py b/src/documents/tests/test_api.py index bce2a433d..494183d2d 100644 --- a/src/documents/tests/test_api.py +++ b/src/documents/tests/test_api.py @@ -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)