Browse Source

Fixed test when run using autoquoting

Jose Lorenzo Rodriguez 8 years ago
parent
commit
5f6c38c9ec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/TestCase/Database/QueryTest.php

+ 1 - 0
tests/TestCase/Database/QueryTest.php

@@ -4514,6 +4514,7 @@ class QueryTest extends TestCase
      */
     public function testAllNoDuplicateTypeCasting()
     {
+        $this->skipIf($this->autoQuote, 'Produces bad SQL in postgres with autoQuoting');
         $query = new Query($this->connection);
         $query
             ->select('1.5 AS a')