Permalink
Browse files

MINOR Fixed broken tests in GridFieldDetailFormTest

  • Loading branch information...
1 parent 2ab12af commit 9b4b34c4f9f8efa3f2a3308dc4edca5e17ed1c54 @halkyon halkyon committed Mar 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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());
}
}

0 comments on commit 9b4b34c

Please sign in to comment.