mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing failing tests in PostgreSQL cause by invalid datatype comparisons and missing id fields.
This commit is contained in:
parent
ea64588a81
commit
661fcd32ab
1 changed files with 3 additions and 1 deletions
|
@ -322,6 +322,7 @@ class ModelWriteTest extends BaseModelTest {
|
|||
|
||||
$data = array(
|
||||
'OverallFavorite' => array(
|
||||
'id' => 22,
|
||||
'model_type' => '8-track',
|
||||
'model_id' => '3',
|
||||
'priority' => '1'
|
||||
|
@ -383,6 +384,7 @@ class ModelWriteTest extends BaseModelTest {
|
|||
$User = new CounterCacheUser();
|
||||
$Post = new CounterCachePost();
|
||||
$data = array('Post' => array(
|
||||
'id' => 22,
|
||||
'title' => 'New Post',
|
||||
'user_id' => 66
|
||||
));
|
||||
|
@ -2007,7 +2009,7 @@ class ModelWriteTest extends BaseModelTest {
|
|||
'DoomedSomethingElse' => array(
|
||||
'className' => 'SomethingElse',
|
||||
'joinTable' => 'join_things',
|
||||
'conditions' => 'JoinThing.doomed = 1',
|
||||
'conditions' => 'JoinThing.doomed = true',
|
||||
'unique' => true
|
||||
),
|
||||
'NotDoomedSomethingElse' => array(
|
||||
|
|
Loading…
Reference in a new issue