mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update testSearchFieldSchema to expect namespaced search fields
This commit is contained in:
parent
c503dbd634
commit
bfe2a7b7e6
@ -114,8 +114,8 @@ class GridFieldFilterHeaderTest extends SapphireTest
|
||||
$this->assertEquals('field/testfield/schema/SearchForm', $searchSchema->formSchemaUrl);
|
||||
$this->assertEquals('Name', $searchSchema->name);
|
||||
$this->assertEquals('Search "Teams"', $searchSchema->placeholder);
|
||||
$this->assertEquals('test', $searchSchema->filters->Name);
|
||||
$this->assertEquals('place', $searchSchema->filters->City);
|
||||
$this->assertEquals('test', $searchSchema->filters->Search__Name);
|
||||
$this->assertEquals('place', $searchSchema->filters->Search__City);
|
||||
$this->assertEquals('testfield', $searchSchema->gridfield);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user