Skip to content

Commit 713b211

Browse files
committed
Fixed toInteger() test case
1 parent c640763 commit 713b211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/LuhnAlgorithmTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function testGetCheckDigit($number) {
116116
*/
117117
public function testStringToInteger($number) {
118118
$int = \LuhnAlgorithm::toInteger($number);
119-
$this->assertTrue(is_int($int));
119+
$this->assertTrue(is_numeric($int));
120120
}
121121

122122
/**

0 commit comments

Comments
 (0)