Permalink
Browse files

Fix error in Sqlite tests.

  • Loading branch information...
1 parent 6c5255a commit a1e06b9c8b6b87e18066803c617d5e2dc8878018 @markstory markstory committed May 7, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php
@@ -531,7 +531,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();
@@ -724,10 +724,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'
),

0 comments on commit a1e06b9

Please sign in to comment.