Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Fixed broken tests in GridFieldDetailFormTest

  • Loading branch information...
commit 9b4b34c4f9f8efa3f2a3308dc4edca5e17ed1c54 1 parent 2ab12af
@halkyon halkyon authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/forms/gridfield/GridFieldDetailFormTest.php
View
4 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());
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.