Browse Source

Fix error in Sqlite tests.

mark_story 14 years ago
parent
commit
d73bc6b867
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php

+ 3 - 1
lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php

@@ -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'
 				),