mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Make sure tests pass after adding clear button.
This commit is contained in:
parent
57d5589c52
commit
107fee32a0
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user