MINOR Fixed broken tests in GridFieldDetailFormTest

This commit is contained in:
Sean Harvey 2012-03-09 16:37:25 +13:00
parent 2ab12affec
commit 9b4b34c4f9

View File

@ -217,8 +217,8 @@ class GridFieldDetailFormTest_GroupController extends Controller implements Test
function Form() {
$field = new GridField('testfield', 'testfield', DataList::create('GridFieldDetailFormTest_PeopleGroup'));
$field->getConfig()->addComponent($gridFieldForm = new GridFieldPopupForms($this, 'Form'));
$field->getConfig()->addComponent(new GridFieldEditAction());
$field->getConfig()->addComponent($gridFieldForm = new GridFieldDetailForm($this, 'Form'));
$field->getConfig()->addComponent(new GridFieldEditButton());
return new Form($this, 'Form', new FieldList($field), new FieldList());
}
}