Skip to content

Commit

Permalink
Change quotes to keep postgres happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 8, 2013
1 parent 530c957 commit abf4af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/ModelWriteTest.php
Expand Up @@ -6256,7 +6256,7 @@ public function testSaveAssociatedExpressionObjects() {

$TestModel->saveAssociated(array(
'Post' => array(
'title' => $db->expression('(SELECT "Post with Author")'),
'title' => $db->expression("(SELECT 'Post with Author')"),
'body' => 'This post will be saved with an author'
),
'Author' => array(
Expand Down

0 comments on commit abf4af1

Please sign in to comment.