Browse Source

Improving code readability

José Lorenzo Rodríguez 10 years ago
parent
commit
96edaff5d0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Database/Schema/PostgresSchemaTest.php

+ 2 - 2
tests/TestCase/Database/Schema/PostgresSchemaTest.php

@@ -1129,12 +1129,12 @@ SQL;
         $mock->expects($this->any())
             ->method('quote')
             ->will($this->returnCallback(function ($value) {
-                return '\'' . $value . '\'';
+                return "'$value'";
             }));
         $mock->expects($this->any())
             ->method('quoteIdentifier')
             ->will($this->returnCallback(function ($value) {
-                return '"' . $value . '"';
+                return "'$value'";
             }));
         $driver->connection($mock);
         return $driver;