Skip to content

Commit c1cc90a

Browse files
committed
Update MasterCard test case (validate 2 series)
1 parent 1ba7175 commit c1cc90a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Omnipay/Common/CreditCardTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ public function testGetBrandMasterCard()
233233
{
234234
$card = new CreditCard(array('number' => '5555555555554444'));
235235
$this->assertSame(CreditCard::BRAND_MASTERCARD, $card->getBrand());
236+
$card = new CreditCard(array('number' => '2221000010000015'));
237+
$this->assertSame(CreditCard::BRAND_MASTERCARD, $card->getBrand());
236238
}
237239

238240
public function testGetBrandAmex()

0 commit comments

Comments
 (0)