From b5eebe0cc8bef3acabefc20d9024335618d433ad Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Thu, 2 Feb 2017 20:56:57 +0100 Subject: [PATCH] Fixed tests with newer testbrowser. --- CHANGES.rst | 4 +++- plone/app/discussion/tests/functional_test_comments.txt | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index fcff594..1005ef0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,7 +14,9 @@ New features: Bug fixes: -- *add item here* +- Fixed tests with newer testbrowser. + [mauristvanrees] + - Remove deprecated __of__ calls on BrowserViews [MrTango] diff --git a/plone/app/discussion/tests/functional_test_comments.txt b/plone/app/discussion/tests/functional_test_comments.txt index 6aa6b81..e47a5b1 100644 --- a/plone/app/discussion/tests/functional_test_comments.txt +++ b/plone/app/discussion/tests/functional_test_comments.txt @@ -182,7 +182,7 @@ Enable anonymous comment >>> browser.getControl(name='__ac_password').value = 'secret' >>> browser.getControl(name='submit').click() >>> browser.open(portal_url+'/@@discussion-controlpanel') - >>> browser.getControl(name='form.widgets.anonymous_comments:list').value = [True] + >>> browser.getControl(name='form.widgets.anonymous_comments:list').value = 'selected' >>> browser.getControl(name='form.buttons.save').click() >>> browser.open(portal_url + '/logout') @@ -492,7 +492,7 @@ Edit the control panel. >>> browser.getControl(name='__ac_password').value = 'secret' >>> browser.getControl(name='submit').click() >>> browser.open(portal_url+'/@@discussion-controlpanel') - >>> browser.getControl(name='form.widgets.anonymous_email_enabled:list').value = [True] + >>> browser.getControl(name='form.widgets.anonymous_email_enabled:list').value = 'selected' >>> browser.getControl(name='form.buttons.save').click() >>> browser.open(portal_url + '/logout')