Permalink
Browse files

MINOR Fixed GridFieldTest (broke due to changes in the default config)

  • Loading branch information...
1 parent 6e9bf88 commit 386bbf8095fd3068a1ffb16f0a9e372fec9402d8 @chillu chillu committed Feb 28, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 tests/forms/GridFieldTest.php
@@ -29,11 +29,12 @@ public function testGridFieldDefaultConfig() {
$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');

0 comments on commit 386bbf8

Please sign in to comment.