Skip to content

Commit

Permalink
Fix error in Sqlite tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory authored and lorenzo committed May 11, 2012
1 parent 8334ebe commit d73bc6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php
Expand Up @@ -522,7 +522,7 @@ public function testSaveCreate() {
'slug' => 'fourth_translated',
'title' => 'Leyenda #4',
'content' => 'Contenido #4',
'translated_article_id' => null
'translated_article_id' => 1,
);
$TestModel->create($data);
$TestModel->save();
Expand Down Expand Up @@ -715,10 +715,12 @@ public function testSaveAllTranslatedAssociations() {
),
'TranslatedItem' => array(
array(
'slug' => '',
'title' => 'Nuevo leyenda #1',
'content' => 'Upraveny obsah #1'
),
array(
'slug' => '',
'title' => 'New Title #2',
'content' => 'New Content #2'
),
Expand Down

0 comments on commit d73bc6b

Please sign in to comment.