From 7a6465303d7919d2097b7918c9ce31ace9222616 Mon Sep 17 00:00:00 2001 From: Michael Price Date: Mon, 12 Mar 2018 16:04:46 -0400 Subject: [PATCH] Update tests. Signed-off-by: Michael Price --- mayan/apps/linking/tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mayan/apps/linking/tests/test_views.py b/mayan/apps/linking/tests/test_views.py index a9e7c1433b..425ff18a5b 100644 --- a/mayan/apps/linking/tests/test_views.py +++ b/mayan/apps/linking/tests/test_views.py @@ -126,7 +126,7 @@ class SmartLinkViewTestCase(GenericDocumentViewTestCase): # heading. The two smart links are not shown. self.assertContains( - response, text=self.document.label, count=1, status_code=200 + response, text=self.document.label, count=2, status_code=200 ) def test_document_smart_link_list_view_with_permission(self): @@ -149,5 +149,5 @@ class SmartLinkViewTestCase(GenericDocumentViewTestCase): # heading, plus 2 for the test. self.assertContains( - response, text=self.document.label, count=3, status_code=200 + response, text=self.document.label, count=4, status_code=200 )