From dd06a077059f40654adef0ea07405c3e5f1f0d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ignacio=20de=20Toma=CC=81s?= Date: Mon, 6 Jul 2015 10:47:26 +0200 Subject: [PATCH] Test messages --- tests/Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']); } } }