Skip to content

Commit

Permalink
Improving code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 28, 2016
1 parent 3cace18 commit 96edaff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Database/Schema/PostgresSchemaTest.php
Expand Up @@ -1129,12 +1129,12 @@ protected function _getMockedDriver()
$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;
Expand Down

0 comments on commit 96edaff

Please sign in to comment.