You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
I'm seeing 2 tests fails on Win 10 64 bit.
This definitely happens because of PHP integer overload on 64 bit systems.
This can be fixed by adding quotes to dataprovider values in LuhnTest to convert em to a strings.
Especially, values 561059108101825and 601100099013942
There were 2 failures:
1) Faker\Test\Calculator\LuhnTest::testComputeCheckDigit with data set #9 (561059108101825, '0')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'0'
+'7'
E:\Projects\faker-fork\test\Faker\Calculator\LuhnTest.php:34
2) Faker\Test\Calculator\LuhnTest::testComputeCheckDigit with data set #10 (601100099013942, '4')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'4'
+'3'
The text was updated successfully, but these errors were encountered:
I'm seeing 2 tests fails on Win 10 64 bit.
This definitely happens because of PHP integer overload on 64 bit systems.
This can be fixed by adding quotes to dataprovider values in
LuhnTest
to convert em to a strings.Especially, values
561059108101825
and601100099013942
The text was updated successfully, but these errors were encountered: