Skip to content

Commit 06208d0

Browse files
author
Peter
committed
Fix tests
1 parent 64bce1a commit 06208d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Omnipay/Common/CreditCardTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,19 +324,19 @@ public function testBillingPhone()
324324
public function testShippingFirstName()
325325
{
326326
$this->card->setShippingFirstName('James Bond');
327-
$this->assertEquals('James Bond', $this->getShippingFirstName());
327+
$this->assertEquals('James Bond', $this->card->getShippingFirstName());
328328
}
329329

330330
public function testShippingLastName()
331331
{
332332
$this->card->setShippingLastName('Doctor No');
333-
$this->assertEquals('Doctor No', $this->getShippingLastName());
333+
$this->assertEquals('Doctor No', $this->card->getShippingLastName());
334334
}
335335

336336
public function testShippingCompany()
337337
{
338338
$this->card->setShippingCompany('SuperSoft');
339-
$this->assertEquals('SuperSoft', $this->getShippingCompany());
339+
$this->assertEquals('SuperSoft', $this->card->getShippingCompany());
340340
}
341341

342342
public function testShippingAddress1()

0 commit comments

Comments
 (0)