Make sure tests pass after adding clear button.

This commit is contained in:
Jyrki Lilja 2013-11-25 13:55:42 +02:00
parent 57d5589c52
commit 107fee32a0

View File

@ -140,7 +140,7 @@ class UserDefinedFormControllerTest extends FunctionalTest {
$actions = $controller->getFormActions();
$expected = new FieldList(new FormAction('process', 'Custom Button'));
$expected->push(new ResetFormAction("clearForm"));
$expected->push(new ResetFormAction("clearForm", "Clear"));
$this->assertEquals($actions, $expected);
}