Change quotes to keep postgres happy.

This commit is contained in:
mark_story 2013-12-08 11:58:26 -05:00
parent 530c95725f
commit abf4af14a8

View file

@ -6256,7 +6256,7 @@ class ModelWriteTest extends BaseModelTest {
$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(