Permalink
Browse files

Fix `DetailableBehavior` tests.

  • Loading branch information...
jadb committed Feb 27, 2014
1 parent 0b2cbc5 commit e3025f97cb0acd096f36dad44ebb1d289d5ffac1
Showing with 2 additions and 1 deletion.
  1. +2 −1 Test/Case/Model/Behavior/DetailableBehaviorTest.php
@@ -29,6 +29,7 @@ class DetailableBehaviorTest extends CommonTestCase {
* {@inheritdoc}
*/
public $fixtures = array(
+ 'plugin.common.common_detail_model',
'plugin.common.common_test_detailable_user',
);
@@ -120,7 +121,7 @@ public function testAfterSave() {
$this->assertEqual($result, $expected);
$data = array(
- $this->User->alias => array('id' => 1),
+ $this->User->alias => array('id' => '1'),
$detailModel => array('user' => array('fname' => 'test', 'lname' => 'example'))
);

0 comments on commit e3025f9

Please sign in to comment.