Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix type issues with SQLServer.
  • Loading branch information
markstory committed Aug 9, 2015
1 parent 7c42905 commit a0d9442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Database/QueryTest.php
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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 = [
Expand Down

0 comments on commit a0d9442

Please sign in to comment.