Skip to content
Browse files

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

…e now in an associative array
  • Loading branch information...
1 parent 4ed46cf commit a5851e959724c17a22d7785d171595147dce5b1e @lorenzo lorenzo committed Jul 14, 2011
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(

0 comments on commit a5851e9

Please sign in to comment.
Something went wrong with that request. Please try again.