From dde8640fc5f438ea56488a04e7a9c39617b70e0a Mon Sep 17 00:00:00 2001 From: Katja Suess Date: Sat, 11 Jan 2020 11:43:35 +0100 Subject: [PATCH] Update test_comments_viewlet.py --- plone/app/discussion/tests/test_comments_viewlet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plone/app/discussion/tests/test_comments_viewlet.py b/plone/app/discussion/tests/test_comments_viewlet.py index 942f0d2..06b3231 100644 --- a/plone/app/discussion/tests/test_comments_viewlet.py +++ b/plone/app/discussion/tests/test_comments_viewlet.py @@ -599,10 +599,10 @@ class TestCommentsViewlet(unittest.TestCase): self.assertTrue('actions' in reply) self.assertEqual( reply['actions'][0]['id'], - 'publish', + 'mark_as_spam', ) expected_url = 'http://nohost/plone/doc1/++conversation++default/{0}' \ - '/content_status_modify?workflow_action=publish' + '/content_status_modify?workflow_action=mark_as_spam' self.assertEqual( reply['actions'][0]['url'], expected_url.format(int(c1)),