From b3013a98c47390cd7acd503d1e0d88cfc308563b Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Mon, 1 Oct 2018 12:50:20 +0200 Subject: [PATCH] Update testSearchField to expect namespaced search fields --- tests/php/Controllers/CMSMainTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/php/Controllers/CMSMainTest.php b/tests/php/Controllers/CMSMainTest.php index d7586f60..35eed3c2 100644 --- a/tests/php/Controllers/CMSMainTest.php +++ b/tests/php/Controllers/CMSMainTest.php @@ -653,8 +653,8 @@ class CMSMainTest extends FunctionalTest 'name' => 'Term', 'placeholder' => 'Search "Pages"', 'filters' => [ - 'Term' => 'test', - 'FilterClass' => 'SilverStripe\CMS\Controllers\CMSSiteTreeFilter_Search' + 'Search__Term' => 'test', + 'Search__FilterClass' => 'SilverStripe\CMS\Controllers\CMSSiteTreeFilter_Search' ] ]), $searchSchema