Skip to content
Permalink
Browse files

Fix type issues with SQLServer.

  • Loading branch information...
markstory committed Aug 9, 2015
1 parent 7c42905 commit a0d94422701ca7ff8226c3333ecb06171f740b07
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/Database/QueryTest.php
@@ -1522,7 +1522,7 @@ public function testSelectOrderAsc()
$query = new Query($this->connection);
$query->select(['id'])
->from('articles')
->orderAsc($query->func()->concat(['id' => 'literal', 'test']));
->orderAsc($query->func()->concat(['id' => 'literal', '3']));
$result = $query->execute()->fetchAll('assoc');
$expected = [
@@ -1561,7 +1561,7 @@ public function testSelectOrderDesc()
$query = new Query($this->connection);
$query->select(['id'])
->from('articles')
->orderDesc($query->func()->concat(['id' => 'literal', 'test']));
->orderDesc($query->func()->concat(['id' => 'literal', '3']));
$result = $query->execute()->fetchAll('assoc');
$expected = [

0 comments on commit a0d9442

Please sign in to comment.
You can’t perform that action at this time.