Skip to content

Commit

Permalink
Updated unit test for Fetch Application Fee.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabsfm committed Sep 14, 2019
1 parent c8959b6 commit 69193b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Message/FetchApplicationFeeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public function testSendSuccess()
$this->assertTrue($response->isSuccessful());
$this->assertFalse($response->isRedirect());
$this->assertSame('fee_1FITlv123YJsynqe3nOIfake', $response->getApplicationFeeReference());
$this->assertNull($response->getCardReference());
$this->assertNull($response->getMessage());
}

Expand All @@ -36,8 +35,7 @@ public function testSendError()

$this->assertFalse($response->isSuccessful());
$this->assertFalse($response->isRedirect());
$this->assertNull($response->getBalanceTransactionReference());
$this->assertNull($response->getCardReference());
$this->assertNull($response->getApplicationFeeReference());
$this->assertSame('No such application fee: fee_1FITlv123YJsynqe3nOIfake', $response->getMessage());
}
}

0 comments on commit 69193b2

Please sign in to comment.