mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed GridFieldTest (broke due to changes in the default config)
This commit is contained in:
parent
6e9bf8859e
commit
386bbf8095
@ -29,11 +29,12 @@ class GridFieldtest extends SapphireTest {
|
||||
$obj = new GridField('testfield', 'testfield');
|
||||
|
||||
$expectedComponents = new ArrayList(array(
|
||||
0 => new GridFieldSortableHeader,
|
||||
1 => new GridFieldFilter,
|
||||
2 => new GridFieldDefaultColumns,
|
||||
3 => new GridFieldPaginator,
|
||||
4 => new GridState_Component,
|
||||
new GridFieldTitle(),
|
||||
new GridFieldSortableHeader,
|
||||
new GridFieldFilter,
|
||||
new GridFieldDefaultColumns,
|
||||
new GridFieldPaginator,
|
||||
new GridState_Component,
|
||||
));
|
||||
|
||||
$this->assertEquals($expectedComponents, $obj->getConfig()->getComponents(), 'Testing default Config');
|
||||
|
Loading…
x
Reference in New Issue
Block a user