|
|
@@ -5974,7 +5974,7 @@ class FormHelperTest extends CakeTestCase {
|
|
|
public function testPostButton() {
|
|
|
$result = $this->Form->postButton('Hi', '/controller/action');
|
|
|
$this->assertTags($result, array(
|
|
|
- 'form' => array('method' => 'post', 'action' => '/controller/action', 'accept-charset' => 'utf-8', 'style' => 'display:none;'),
|
|
|
+ 'form' => array('method' => 'post', 'action' => '/controller/action', 'accept-charset' => 'utf-8'),
|
|
|
'div' => array('style' => 'display:none;'),
|
|
|
'input' => array('type' => 'hidden', 'name' => '_method', 'value' => 'POST'),
|
|
|
'/div',
|
|
|
@@ -6000,7 +6000,6 @@ class FormHelperTest extends CakeTestCase {
|
|
|
$expected = array(
|
|
|
'form' => array(
|
|
|
'method' => 'post', 'action' => '/posts/delete/1', 'accept-charset' => 'utf-8',
|
|
|
- 'style' => 'display:none;'
|
|
|
),
|
|
|
array('div' => array('style' => 'display:none;')),
|
|
|
array('input' => array('type' => 'hidden', 'name' => '_method', 'value' => 'POST')),
|