Skip to content

Commit c936864

Browse files
committed
Typing the 255 length to make a test case for a bug just fixed
If you allow the default to be used, 255 is an int. If you type it, it's a string, and the Validator is responsible for converting to an integer. This change is to type in 255, so that the test proves this conversion is done correctly (if it's not, the annotation generates improperly).
1 parent 480783e commit c936864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Maker/FunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ public function getCommandEntityTests()
409409
// add not additional fields
410410
'name',
411411
'string',
412-
'', // length (default 255)
412+
'255', // length
413413
// nullable
414414
'y',
415415
'createdAt',

0 commit comments

Comments
 (0)