Browse Source

test fix for large numbers

Piotr Długosz 3 years ago
parent
commit
b4ab3db321
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/Unit/ValidationRuleParsingTest.php

+ 2 - 2
tests/Unit/ValidationRuleParsingTest.php

@@ -226,7 +226,7 @@ class ValidationRuleParsingTest extends BaseLaravelTest
             [],
             [
                 'description' => "Must be 8 digits.",
-                'type' => 'number',
+                'type' => 'string',
             ],
         ];
         yield 'digits_between' => [
@@ -234,7 +234,7 @@ class ValidationRuleParsingTest extends BaseLaravelTest
             [],
             [
                 'description' => "Must be between 2 and 8 digits.",
-                'type' => 'number',
+                'type' => 'string',
             ],
         ];
         yield 'alpha' => [