Skip to content
Permalink
Browse files

Improving code readability

  • Loading branch information...
lorenzo committed Feb 28, 2016
1 parent 3cace18 commit 96edaff5d05a58bfd518e9a599668412f0c17322
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/Database/Schema/PostgresSchemaTest.php
@@ -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;

0 comments on commit 96edaff

Please sign in to comment.
You can’t perform that action at this time.