Update testSearchField to expect namespaced search fields

This commit is contained in:
Robbie Averill 2018-10-01 12:50:20 +02:00
parent b0c4c5a177
commit b3013a98c4

View File

@ -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