Skip to content

Commit

Permalink
fix typo in DboPostgresTestDb::testOrderAdditionalParams()
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieter Plaetinck authored and lorenzo committed Mar 10, 2010
1 parent cbcd394 commit 9a9bc36
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -698,8 +698,8 @@ function testVirtualFields() {
* Tests additional order options for postgres
*/
function testOrderAdditionalParams() {
$result = $this->db->order(array('title' => 'DESC NULLS FIRSTS', 'body' => 'DESC'));
$expected = ' ORDER BY "title" DESC NULLS FIRSTS, "body" DESC';
$result = $this->db->order(array('title' => 'DESC NULLS FIRST', 'body' => 'DESC'));
$expected = ' ORDER BY "title" DESC NULLS FIRST, "body" DESC';
$this->assertEqual($result, $expected);
}
}
Expand Down

0 comments on commit 9a9bc36

Please sign in to comment.