Skip to content

Commit 45b4fd3

Browse files
committed
More fixes to tests
1 parent 5c623ee commit 45b4fd3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/Unit/Utils/Tests/PHPUnitUtilTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ public static function dataProviderTestThatGetInvalidValueForTypeReturnsExpected
147147
public static function dataProviderTestThatGetTypeReturnExpected(): Generator
148148
{
149149
yield ['int', 'integer'];
150-
yield ['int', 'bigint'];
150+
yield ['int', 'int'];
151+
yield ['string', 'bigint'];
151152
yield [DateTime::class, 'time'];
152153
yield [DateTime::class, 'date'];
153154
yield [DateTime::class, 'datetime'];
@@ -168,7 +169,7 @@ public static function dataProviderTestThatGetValidValueReturnsExpectedValue():
168169
{
169170
yield [666, 'int', true];
170171
yield [666, 'integer', true];
171-
yield [666, 'bigint', true];
172+
yield ['Some text here', 'bigint', true];
172173
yield [DateTime::class, 'time', false];
173174
yield [DateTime::class, 'date', false];
174175
yield [DateTime::class, 'datetime', false];

0 commit comments

Comments
 (0)