From c936864823ac60508e37d8fb1d9bc6a02d03ffa7 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 21 Mar 2018 09:40:46 -0400 Subject: [PATCH] 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). --- tests/Maker/FunctionalTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Maker/FunctionalTest.php b/tests/Maker/FunctionalTest.php index d0ddcc61b..38086a960 100644 --- a/tests/Maker/FunctionalTest.php +++ b/tests/Maker/FunctionalTest.php @@ -409,7 +409,7 @@ public function getCommandEntityTests() // add not additional fields 'name', 'string', - '', // length (default 255) + '255', // length // nullable 'y', 'createdAt',