diff options
Diffstat (limited to 'tests/simple_unit/TableGateway/TableGatewayPgsqlTest.php')
-rw-r--r-- | tests/simple_unit/TableGateway/TableGatewayPgsqlTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple_unit/TableGateway/TableGatewayPgsqlTest.php b/tests/simple_unit/TableGateway/TableGatewayPgsqlTest.php index 973e8d21..4d1077f7 100644 --- a/tests/simple_unit/TableGateway/TableGatewayPgsqlTest.php +++ b/tests/simple_unit/TableGateway/TableGatewayPgsqlTest.php @@ -48,7 +48,7 @@ class TableGatewayPgsqlTest extends BaseGatewayTest $results = $this->getGateway()->findAll('true')->readAll();
$this->assertEqual(count($results), 2);
- $result = $this->getGateway()->findBySql('SELECT username FROM address WHERE phone = ?', '45233')->read();
+ $result = $this->getGateway()->findAllBySql('SELECT username FROM address WHERE phone = ?', '45233')->read();
$this->assertEqual($result['username'], 'record2');
}
|