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');