Permalink
Browse files

fix typo in DboPostgresTestDb::testOrderAdditionalParams()

  • Loading branch information...
1 parent cbcd394 commit 9a9bc3643b64d8209b88be09f5da018381bd5c42 Dieter Plaetinck committed with lorenzo Mar 10, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
@@ -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);
}
}

0 comments on commit 9a9bc36

Please sign in to comment.