Skip to content

Commit

Permalink
Fix tests for Database quoting situation.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 24, 2014
1 parent 6087c0c commit 9bb8f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/ORM/QueryTest.php
Expand Up @@ -2013,7 +2013,7 @@ public function testJsonSerialize() {
public function testAutoFields() {
$table = TableRegistry::get('Articles');
$result = $table->find('all')
->select(['myField' => 'id + 20'])
->select(['myField' => '(SELECT 20)'])
->autoFields(true)
->hydrate(false)
->first();
Expand Down

0 comments on commit 9bb8f68

Please sign in to comment.