diff --git a/tests/Test.php b/tests/Test.php index a8965e7..00f35c2 100644 --- a/tests/Test.php +++ b/tests/Test.php @@ -73,8 +73,8 @@ public function testCardsTypes() foreach ($numbers as $number) { $result = CreditCard::validCreditCard($number); - $this->assertEquals(true, $result['valid']); - $this->assertEquals($type, $result['type']); + $this->assertEquals(true, $result['valid'], 'Invalid card, expected valid. Type: ' . $type . ', Number: ' . $number); + $this->assertEquals($type, $result['type'], 'Invalid type. Number: ' . $number . ', Expected: ' . $type . ', Actual: ' . $result['type']); } } }