Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix error in Sqlite tests.

  • Loading branch information...
commit d73bc6b8674cd318c0af79882c86bb4c54efd79d 1 parent 8334ebe
@markstory markstory authored lorenzo committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php
View
4 lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php
@@ -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();
@@ -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'
),
Please sign in to comment.
Something went wrong with that request. Please try again.