diff options
author | wei <> | 2007-05-07 04:17:37 +0000 |
---|---|---|
committer | wei <> | 2007-05-07 04:17:37 +0000 |
commit | eab6bb13b9efb3e1c6d725368368de4d74b00946 (patch) | |
tree | 57aa3462b6f18ad190527483e753dc148971bc63 /tests/simple_unit/TableGateway/TableGatewayPgsqlTest.php | |
parent | e91ac8550a4e6dfa255874860f108935841c16f6 (diff) |
Update Active Record docs.
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');
}
|