Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo in DboPostgresTestDb::testOrderAdditionalParams()

  • Loading branch information...
commit 9a9bc3643b64d8209b88be09f5da018381bd5c42 1 parent cbcd394
Dieter Plaetinck authored lorenzo committed
View
4 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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.