Skip to content

Commit

Permalink
100% services coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
XaosSintez committed Jun 26, 2018
1 parent 65ba1bc commit ba09dfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Api/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,9 @@ public function paymentCardService()
$result = $service->createFromToken('token', ['customerId' => $faker->uuid], 'dummy');
$this->assertInstanceOf(Entities\PaymentCard::class, $result);

$result = $service->createFromToken(['token' => 'dummy'], $card);
$this->assertInstanceOf(Entities\PaymentCard::class, $result);

$result = $service->authorize([], 'dummy');
$this->assertInstanceOf(Entities\PaymentCard::class, $result);

Expand Down

0 comments on commit ba09dfa

Please sign in to comment.