mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
error in test case
This commit is contained in:
parent
0fa3c3188d
commit
544e8db722
@ -896,7 +896,7 @@ class TestBulkEdit(DirectoriesMixin, APITestCase):
|
|||||||
response = self.client.post("/api/documents/bulk_edit/", json.dumps({
|
response = self.client.post("/api/documents/bulk_edit/", json.dumps({
|
||||||
"documents": [self.doc2.id],
|
"documents": [self.doc2.id],
|
||||||
"method": "add_tag",
|
"method": "add_tag",
|
||||||
"parameters": {'document_type': 345657}
|
"parameters": {'tag': 345657}
|
||||||
}), content_type='application/json')
|
}), content_type='application/json')
|
||||||
self.assertEqual(response.status_code, 400)
|
self.assertEqual(response.status_code, 400)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user