We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c623ee commit 45b4fd3Copy full SHA for 45b4fd3
tests/Unit/Utils/Tests/PHPUnitUtilTest.php
@@ -147,7 +147,8 @@ public static function dataProviderTestThatGetInvalidValueForTypeReturnsExpected
147
public static function dataProviderTestThatGetTypeReturnExpected(): Generator
148
{
149
yield ['int', 'integer'];
150
- yield ['int', 'bigint'];
+ yield ['int', 'int'];
151
+ yield ['string', 'bigint'];
152
yield [DateTime::class, 'time'];
153
yield [DateTime::class, 'date'];
154
yield [DateTime::class, 'datetime'];
@@ -168,7 +169,7 @@ public static function dataProviderTestThatGetValidValueReturnsExpectedValue():
168
169
170
yield [666, 'int', true];
171
yield [666, 'integer', true];
- yield [666, 'bigint', true];
172
+ yield ['Some text here', 'bigint', true];
173
yield [DateTime::class, 'time', false];
174
yield [DateTime::class, 'date', false];
175
yield [DateTime::class, 'datetime', false];
0 commit comments