Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sandervanhooft authored and github-actions[bot] committed Dec 6, 2022
1 parent ab5a32d commit 4e50090
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/Wrappers/MollieApiLaravelClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
*/
class MollieApiLaravelClientTest extends TestCase
{

public function testPostRequest()
{
/** @var MollieApiClient $client */
Expand All @@ -24,7 +23,7 @@ public function testPostRequest()
$payment->description = 'test';

Http::fake([
'https://api.mollie.com/*' => Http::response(json_encode($payment))
'https://api.mollie.com/*' => Http::response(json_encode($payment)),
]);

$client->setApiKey('test_nawruSyCR7UE84EhtVmMmDGdRswBqj');
Expand All @@ -33,8 +32,8 @@ public function testPostRequest()
'description' => 'test',
'amount' => [
'value' => '10.00',
'currency' => 'EUR'
]
'currency' => 'EUR',
],
]);

$this->assertEquals($payment->id, $returnedPayment->id);
Expand All @@ -52,7 +51,7 @@ public function testGetRequest()
$payment->description = 'test';

Http::fake([
'https://api.mollie.com/v2/payments/' . $payment->id => Http::response(json_encode($payment))
'https://api.mollie.com/v2/payments/'.$payment->id => Http::response(json_encode($payment)),
]);

$client->setApiKey('test_nawruSyCR7UE84EhtVmMmDGdRswBqj');
Expand Down

0 comments on commit 4e50090

Please sign in to comment.