diff --git a/tests/TestCase/Database/QueryTest.php b/tests/TestCase/Database/QueryTest.php index 299c08a802c..fe862ad27b8 100644 --- a/tests/TestCase/Database/QueryTest.php +++ b/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); } /**