Skip to content
This repository
Browse code

MINOR Fixed broken tests in GridFieldDetailFormTest

  • Loading branch information...
commit 9b4b34c4f9f8efa3f2a3308dc4edca5e17ed1c54 1 parent 2ab12af
Sean Harvey authored March 09, 2012
4  tests/forms/gridfield/GridFieldDetailFormTest.php
@@ -217,8 +217,8 @@ class GridFieldDetailFormTest_GroupController extends Controller implements Test
217 217
 
218 218
 	function Form() {
219 219
 		$field = new GridField('testfield', 'testfield', DataList::create('GridFieldDetailFormTest_PeopleGroup'));
220  
-		$field->getConfig()->addComponent($gridFieldForm = new GridFieldPopupForms($this, 'Form'));
221  
-		$field->getConfig()->addComponent(new GridFieldEditAction());
  220
+		$field->getConfig()->addComponent($gridFieldForm = new GridFieldDetailForm($this, 'Form'));
  221
+		$field->getConfig()->addComponent(new GridFieldEditButton());
222 222
 		return new Form($this, 'Form', new FieldList($field), new FieldList());
223 223
 	}
224 224
 }

0 notes on commit 9b4b34c

Please sign in to comment.
Something went wrong with that request. Please try again.