Skip to content

Commit 292a49e

Browse files
committed
Format code
1 parent f9ec387 commit 292a49e

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

tests/Unit/BankingWebhookParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,4 +358,4 @@ public function testBankingWebhookParserRelayedAuthorisationRequest()
358358
self::assertEquals("balancePlatform.authorisation.relayed", $result->getType());
359359
self::assertEquals("test", $result->getEnvironment());
360360
}
361-
}
361+
}

tests/Unit/CheckoutTest.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ public function testPaymentMethodsFailureMissingIdentifierOnLive($jsonFile, $htt
9696
$service->paymentMethods($paymentMethodsRequest);
9797
$this->fail(AdyenException::class . " expected");
9898
} catch (AdyenException $e) {
99-
$this->assertEquals("Please add your checkout live URL prefix from CA under Developers > API URLs > Prefix",
100-
$e->getMessage());
99+
$this->assertEquals(
100+
"Please add your checkout live URL prefix from CA under Developers > API URLs > Prefix",
101+
$e->getMessage()
102+
);
101103
}
102104
}
103105

@@ -219,7 +221,7 @@ public function testPaymentsSuccess($jsonFile, $httpStatus)
219221
$paymentRequest->setAmount($amount);
220222
$paymentRequest->setReference("Your order number");
221223
$paymentRequest->setReturnUrl(self::RETURN_URL);
222-
$paymentRequest->setAdditionalData( array(
224+
$paymentRequest->setAdditionalData(array(
223225
'executeThreeD' => true
224226
));
225227

tests/Unit/ServiceTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function testBinlookupTestUrl()
134134
public function testBinlookupLiveUrl()
135135
{
136136
$client = new Client();
137-
$client->setEnvironment(Environment::LIVE,"myCompany");
137+
$client->setEnvironment(Environment::LIVE, "myCompany");
138138
$service = new Service($client);
139139
$url = $service->createBaseUrl("https://pal-test.adyen.com/pal/servlet/BinLookup/v54");
140140
self::assertEquals("https://myCompany-pal-live.adyenpayments.com/pal/servlet/BinLookup/v54", $url);
@@ -152,7 +152,7 @@ public function testPayoutTestUrl()
152152
public function testPayoutLiveUrl()
153153
{
154154
$client = new Client();
155-
$client->setEnvironment(Environment::LIVE,"myCompany");
155+
$client->setEnvironment(Environment::LIVE, "myCompany");
156156
$service = new Service($client);
157157
$url = $service->createBaseUrl("https://pal-test.adyen.com/pal/servlet/Payout/v68");
158158
self::assertEquals("https://myCompany-pal-live.adyenpayments.com/pal/servlet/Payout/v68", $url);
@@ -170,7 +170,7 @@ public function testRecurringTestUrl()
170170
public function testRecurringLiveUrl()
171171
{
172172
$client = new Client();
173-
$client->setEnvironment(Environment::LIVE,"myCompany");
173+
$client->setEnvironment(Environment::LIVE, "myCompany");
174174
$service = new Service($client);
175175
$url = $service->createBaseUrl("https://pal-test.adyen.com/pal/servlet/Recurring/v68");
176176
self::assertEquals("https://myCompany-pal-live.adyenpayments.com/pal/servlet/Recurring/v68", $url);

0 commit comments

Comments
 (0)