From e5d6916c2f2987193f3fc3b5dd96e1d8d0489226 Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Mon, 23 Nov 2015 15:07:52 +0100 Subject: [PATCH] In tests, use ``selection.any`` in querystrings. Issue https://github.com/plone/Products.CMFPlone/issues/1040 --- CHANGES.rst | 4 ++++ plone/app/discussion/tests/collection-integration-test.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 8cb33dd..00ffd1b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -13,6 +13,10 @@ Fixes: - Update Site Setup link in all control panels (fixes https://github.com/plone/Products.CMFPlone/issues/1255) [davilima6] +- In tests, use ``selection.any`` in querystrings. + Issue https://github.com/plone/Products.CMFPlone/issues/1040 + [maurits] + - Move translations to plone.app.locales https://github.com/plone/plone.app.discussion/issues/66 [gforcada] diff --git a/plone/app/discussion/tests/collection-integration-test.txt b/plone/app/discussion/tests/collection-integration-test.txt index 7e42343..62f79be 100644 --- a/plone/app/discussion/tests/collection-integration-test.txt +++ b/plone/app/discussion/tests/collection-integration-test.txt @@ -28,7 +28,7 @@ Set the collection criteria. >>> if COLLECTION_TYPE == "Collection": ... browser.getControl(name="addindex").value = ['portal_type'] ... browser.getControl(name="form.button.addcriteria").click() - ... browser.getControl(name="addoperator").value = ['plone.app.querystring.operation.selection.is'] + ... browser.getControl(name="addoperator").value = ['plone.app.querystring.operation.selection.any'] ... browser.getControl(name="form.button.addcriteria").click() ... browser.getControl(name="query.v:records:list").value = ["Discussion Item"] ... browser.getControl(name="form.button.save").click()