Skip to content

Commit

Permalink
Skipping test in SQLServer while we find an appropriate fix
Browse files Browse the repository at this point in the history
This test is at least an obscure feature of the ORM, and fixing it
properly requires a fair bit of changes. Skipping for now
  • Loading branch information
lorenzo committed Dec 31, 2015
1 parent a52d795 commit 227e14f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ORM/Query.php
Expand Up @@ -737,7 +737,6 @@ protected function _performCount()
if (!$complex && $this->_valueBinder !== null) {
$order = $this->clause('order');
$complex = $order === null ? false : $order->hasNestedExpression();
var_dump($order);
}

$count = ['count' => $query->func()->count('*')];
Expand Down
Expand Up @@ -964,6 +964,8 @@ public function testPaginateQuery()
*/
public function testPaginateQueryWithBindValue()
{
$config = ConnectionManager::config('test');
$this->skipIf(strpos($config['driver'], 'Sqlserver') !== false, 'Test temporarily broken in SQLServer');
$this->loadFixtures('Posts');
$table = TableRegistry::get('PaginatorPosts');
$query = $table->find()
Expand Down

0 comments on commit 227e14f

Please sign in to comment.