Skip to content

Commit 4b87354

Browse files
committed
fix sqlite php8.3 tests
1 parent ccdd08c commit 4b87354

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/TestCase/Command/ModelCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ public function testGetValidationTree()
12801280
'allowEmpty' => ['rule' => 'allowEmptyString', 'args' => []],
12811281
],
12821282
'depth' => [
1283-
'nonNegativeInteger' => ['rule' => 'nonNegativeInteger', 'args' => []],
1283+
'integer' => ['rule' => 'integer', 'args' => []],
12841284
'allowEmpty' => ['rule' => 'allowEmptyString', 'args' => []],
12851285
],
12861286
];

tests/comparisons/Model/testBakeAssociationDetectionProductVersionsTableSigned.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function initialize(array $config): void
5858
public function validationDefault(Validator $validator): Validator
5959
{
6060
$validator
61-
->nonNegativeInteger('product_id')
61+
->integer('product_id')
6262
->notEmptyString('product_id');
6363

6464
$validator

0 commit comments

Comments
 (0)