Browse Source

Corrected casing

Jose Lorenzo Rodriguez 11 years ago
parent
commit
c3d8e2330a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/ORM/QueryRegressionTest.php

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

@@ -659,7 +659,7 @@ class QueryRegressionTest extends TestCase
         $result = $comments
             ->find()
             ->matching('Articles.Tags', function($q) {
-                return $q->where(['tags.id' => 2]);
+                return $q->where(['Tags.id' => 2]);
             })
             ->contain('Articles')
             ->first();