From 5b1779fe5957a4fb9227836d738a823e645268ab Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 21 Dec 2016 04:41:43 -0400 Subject: [PATCH] Update tag app tests. --- mayan/apps/tags/tests/test_views.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mayan/apps/tags/tests/test_views.py b/mayan/apps/tags/tests/test_views.py index a86c33ab1a..ad572b52a9 100644 --- a/mayan/apps/tags/tests/test_views.py +++ b/mayan/apps/tags/tests/test_views.py @@ -260,7 +260,8 @@ class TagViewTestCase(GenericDocumentViewTestCase): response = self.post( 'tags:single_document_multiple_tag_remove', args=(self.document.pk,), data={ - 'id_list': self.tag.pk, + 'id_list': self.document.pk, + 'tags': self.tag.pk, } ) @@ -279,7 +280,8 @@ class TagViewTestCase(GenericDocumentViewTestCase): response = self.post( 'tags:single_document_multiple_tag_remove', args=(self.document.pk,), data={ - 'id_list': self.tag.pk, + 'id_list': self.document.pk, + 'tags': self.tag.pk, }, follow=True ) @@ -297,7 +299,7 @@ class TagViewTestCase(GenericDocumentViewTestCase): 'tags:multiple_documents_selection_tag_remove', data={ 'id_list': self.document.pk, - 'tag': self.tag.pk, + 'tags': self.tag.pk, } ) @@ -317,7 +319,7 @@ class TagViewTestCase(GenericDocumentViewTestCase): 'tags:multiple_documents_selection_tag_remove', data={ 'id_list': self.document.pk, - 'tag': self.tag.pk, + 'tags': self.tag.pk, }, follow=True )