Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

error in test case

jonaswinkler544e8db722f7
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)