Skip to content

Commit 5ff5eea

Browse files
Merge pull request #78 from utopia-php/fix-float-validator-structure-test
fix(deps): float validator accepts ints
2 parents d7b6213 + 2906701 commit 5ff5eea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Database/Validator/StructureTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public function testFloatValidation()
325325
'title' => 'string',
326326
'description' => 'Demo description',
327327
'rating' => 5,
328-
'price' => 2,
328+
'price' => '2.5',
329329
'published' => false,
330330
'tags' => ['dog', 'cat', 'mouse'],
331331
'feedback' => 'team@appwrite.io',

0 commit comments

Comments
 (0)