Skip to content
Permalink
Browse files

Updated and fixed type-o in tests.

  • Loading branch information...
T0mats0 committed Apr 3, 2018
1 parent ac4bf96 commit 9c89740e12fd399d8596804eb6c214adc358f8ee
Showing with 9 additions and 1 deletion.
  1. +9 −1 tests/TestCase/Database/QueryTest.php
@@ -4712,7 +4712,15 @@ public function testFetchColumn()
->limit(1);
$statement = $query->execute();
$results = $statement->fetchColumn(0);
$this->assertSame('2', $results[0]);
$this->assertSame('2', $results);
$statement = $query->execute();
$results = $statement->fetchColumn(1);
$this->assertSame('2', $results);
$statement = $query->execute();
$results = $statement->fetchColumn(2);
$this->assertSame('0', $results);
}
/**

0 comments on commit 9c89740

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