Skip to content

Commit

Permalink
Test messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio de Tomás authored and Ignacio de Tomás committed Jul 6, 2015
1 parent e71ea73 commit dd06a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}
}
Expand Down

0 comments on commit dd06a07

Please sign in to comment.