浏览代码

Fix case sensitive issue in table alias.

This was causing build failures for a few setups.
mark_story 11 年之前
父节点
当前提交
48e457ec5b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/TestCase/ORM/ResultSetTest.php

+ 1 - 1
tests/TestCase/ORM/ResultSetTest.php

@@ -293,7 +293,7 @@ class ResultSetTest extends TestCase {
 		$this->assertEquals(1, $article->id);
 		$this->assertNotEmpty($article->title);
 
-		$article = $this->table->find()->where(['Articles.id' => 1])
+		$article = $this->table->find()->where(['articles.id' => 1])
 			->contain(['Comments'])
 			->hydrate(false)
 			->first();