euromark 11 年 前
コミット
bad94a9aaf
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tests/TestCase/Model/Behavior/JsonableBehaviorTest.php

+ 1 - 1
tests/TestCase/Model/Behavior/JsonableBehaviorTest.php

@@ -216,7 +216,7 @@ class JsonableBehaviorTest extends TestCase {
 		$this->Comments->save($entity);
 
 		$res = $this->Comments->find('all', array('conditions' => array('title' => 'param')))->first();
-		$obj = new stdClass();
+		$obj = new \stdClass();
 		$obj->y = 'z';
 		$expected = array('x' => $obj);
 		$this->assertEquals($expected, $res['details']);