Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating test to reflect that models passed as a request parameter ar…

…e now in an associative array
  • Loading branch information...
commit a5851e959724c17a22d7785d171595147dce5b1e 1 parent 4ed46cf
@lorenzo lorenzo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Test/Case/View/Helper/FormHelperTest.php
View
2  lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -6038,7 +6038,7 @@ public function testCreate() {
$this->Form->request->data = array();
$this->Form->request['controller'] = 'contacts';
- $this->Form->request['models'] = array('Contact');
+ $this->Form->request['models'] = array('Contact' => 'Contact');
$result = $this->Form->create(array('url' => array('action' => 'index', 'param')));
$expected = array(
'form' => array(
Please sign in to comment.
Something went wrong with that request. Please try again.