Skip to content
Permalink
Browse files

Remove problematic field

Selecting the id doesn't test more types and causes issues in sqlserver.
  • Loading branch information...
markstory committed Apr 4, 2018
1 parent b9b6983 commit 20fb859d73c2cf9f3381668ece8f8fbd99f1522b
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/TestCase/Database/QueryTest.php
@@ -4580,7 +4580,6 @@ public function testCastResults()
$this->loadFixtures('Profiles');
$query = new Query($this->connection);
$fields = [
'id' => 'integer',
'user_id' => 'integer',
'is_active' => 'boolean'
];
@@ -4593,7 +4592,7 @@ public function testCastResults()
->where(['id' => 1])
->execute()
->fetchAll('assoc');
$this->assertSame([['id' => 1, 'user_id' => 1, 'is_active' => false, 'a' => 1]], $results);
$this->assertSame([['user_id' => 1, 'is_active' => false, 'a' => 1]], $results);
}
/**

0 comments on commit 20fb859

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