mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +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',
|
'slug' => 'fourth_translated',
|
||||||
'title' => 'Leyenda #4',
|
'title' => 'Leyenda #4',
|
||||||
'content' => 'Contenido #4',
|
'content' => 'Contenido #4',
|
||||||
'translated_article_id' => null
|
'translated_article_id' => 1,
|
||||||
);
|
);
|
||||||
$TestModel->create($data);
|
$TestModel->create($data);
|
||||||
$TestModel->save();
|
$TestModel->save();
|
||||||
|
@ -715,10 +715,12 @@ class TranslateBehaviorTest extends CakeTestCase {
|
||||||
),
|
),
|
||||||
'TranslatedItem' => array(
|
'TranslatedItem' => array(
|
||||||
array(
|
array(
|
||||||
|
'slug' => '',
|
||||||
'title' => 'Nuevo leyenda #1',
|
'title' => 'Nuevo leyenda #1',
|
||||||
'content' => 'Upraveny obsah #1'
|
'content' => 'Upraveny obsah #1'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
|
'slug' => '',
|
||||||
'title' => 'New Title #2',
|
'title' => 'New Title #2',
|
||||||
'content' => 'New Content #2'
|
'content' => 'New Content #2'
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue