mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fix error in Sqlite tests.
This commit is contained in:
parent
8334ebebed
commit
d73bc6b867
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue