Skip to content

Commit

Permalink
Updating test to reflect that models passed as a request parameter ar…
Browse files Browse the repository at this point in the history
…e now in an associative array
  • Loading branch information
lorenzo committed Jul 14, 2011
1 parent 4ed46cf commit a5851e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/View/Helper/FormHelperTest.php
Expand Up @@ -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(
Expand Down

0 comments on commit a5851e9

Please sign in to comment.