diff --git a/tests/forms/gridfield/GridFieldDetailFormTest.php b/tests/forms/gridfield/GridFieldDetailFormTest.php index 5bb4e89d8..24538175b 100644 --- a/tests/forms/gridfield/GridFieldDetailFormTest.php +++ b/tests/forms/gridfield/GridFieldDetailFormTest.php @@ -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()); } }