From 4e500907a1f93997b47a7c27f654155c9804e48b Mon Sep 17 00:00:00 2001 From: sandervanhooft Date: Tue, 6 Dec 2022 09:45:55 +0000 Subject: [PATCH] Fix styling --- tests/Wrappers/MollieApiLaravelClientTest.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/Wrappers/MollieApiLaravelClientTest.php b/tests/Wrappers/MollieApiLaravelClientTest.php index 93060df..952e6c0 100644 --- a/tests/Wrappers/MollieApiLaravelClientTest.php +++ b/tests/Wrappers/MollieApiLaravelClientTest.php @@ -13,7 +13,6 @@ */ class MollieApiLaravelClientTest extends TestCase { - public function testPostRequest() { /** @var MollieApiClient $client */ @@ -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'); @@ -33,8 +32,8 @@ public function testPostRequest() 'description' => 'test', 'amount' => [ 'value' => '10.00', - 'currency' => 'EUR' - ] + 'currency' => 'EUR', + ], ]); $this->assertEquals($payment->id, $returnedPayment->id); @@ -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');