Skip to content

Commit

Permalink
Fix condition to work better on sqlserver.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 12, 2018
1 parent 20fb859 commit 4278aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Database/QueryTest.php
Expand Up @@ -4589,7 +4589,7 @@ public function testCastResults()
->select(['a' => 'id'])
->from('profiles')
->setSelectTypeMap($typeMap)
->where(['id' => 1])
->where(['user_id' => 1])
->execute()
->fetchAll('assoc');
$this->assertSame([['user_id' => 1, 'is_active' => false, 'a' => 1]], $results);
Expand Down

0 comments on commit 4278aac

Please sign in to comment.