Fix error in Sqlite tests.

This commit is contained in:
mark_story 2012-05-06 23:39:02 -04:00 committed by Jose Lorenzo Rodriguez
parent 8334ebebed
commit d73bc6b867

View file

@ -522,7 +522,7 @@ class TranslateBehaviorTest extends CakeTestCase {
'slug' => 'fourth_translated',
'title' => 'Leyenda #4',
'content' => 'Contenido #4',
'translated_article_id' => null
'translated_article_id' => 1,
);
$TestModel->create($data);
$TestModel->save();
@ -715,10 +715,12 @@ class TranslateBehaviorTest extends CakeTestCase {
),
'TranslatedItem' => array(
array(
'slug' => '',
'title' => 'Nuevo leyenda #1',
'content' => 'Upraveny obsah #1'
),
array(
'slug' => '',
'title' => 'New Title #2',
'content' => 'New Content #2'
),