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']);