Skip to content

Commit abe3075

Browse files
cybernerdiegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 5c809cc commit abe3075

File tree

4 files changed

+23
-24
lines changed

4 files changed

+23
-24
lines changed

tests/Flutterwave/BeneficiariesApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'account_number' => '0690000032',
2020
'beneficiary_name' => 'Flutterwave Developers',
2121
'currency' => 'NGN',
22-
'bank_name' => 'Beneficiary Bank'
22+
'bank_name' => 'Beneficiary Bank',
2323
];
2424

2525
$this->flutterwave

tests/Flutterwave/PreauthorizationApiTest.php

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@
1515
it('can create a preauth charge', function () {
1616

1717
$payload = [
18-
"card_number" => "*****",
19-
"cvv" => "157",
20-
"expiry_month" => "5",
21-
"expiry_year" => "22",
22-
"amount" => "20000",
23-
"fullname" => "Flutterwave Developers",
24-
"tx_ref" => "sample-ref",
25-
"currency" => "NGN",
26-
"country" => "NG",
27-
"email" => "[email protected]",
28-
"redirect_url" => "https://www.flutterwave.com/ng/",
29-
"preauthorize" => true,
30-
"meta" => [
31-
"customer_id" => "200"
32-
]
18+
'card_number' => '*****',
19+
'cvv' => '157',
20+
'expiry_month' => '5',
21+
'expiry_year' => '22',
22+
'amount' => '20000',
23+
'fullname' => 'Flutterwave Developers',
24+
'tx_ref' => 'sample-ref',
25+
'currency' => 'NGN',
26+
'country' => 'NG',
27+
'email' => '[email protected]',
28+
'redirect_url' => 'https://www.flutterwave.com/ng/',
29+
'preauthorize' => true,
30+
'meta' => [
31+
'customer_id' => '200',
32+
],
3333
];
3434

3535
$this->flutterwave
@@ -55,7 +55,7 @@
5555

5656
$transactionRef = 'FLW-MOCK-PREAUTH-72544a3c7659bcd74cc3a3110fe95101';
5757
$payload = [
58-
"amount" => "100",
58+
'amount' => '100',
5959
];
6060

6161
$this->flutterwave
@@ -104,7 +104,7 @@
104104

105105
$transactionRef = 'FLW-MOCK-PREAUTH-72544a3c7659bcd74cc3a3110fe95101';
106106
$payload = [
107-
"amount" => "100",
107+
'amount' => '100',
108108
];
109109

110110
$this->flutterwave
@@ -129,7 +129,7 @@
129129
it('can capture a paypal charge', function () {
130130

131131
$payload = [
132-
"flw_ref" => "FLW-MOCK-PREAUTH-72544a3c7659bcd74cc3a3110fe95101",
132+
'flw_ref' => 'FLW-MOCK-PREAUTH-72544a3c7659bcd74cc3a3110fe95101',
133133
];
134134

135135
$this->flutterwave
@@ -154,7 +154,7 @@
154154
it('can void a paypal charge', function () {
155155

156156
$payload = [
157-
"flw_ref" => "FLW-MOCK-PREAUTH-72544a3c7659bcd74cc3a3110fe95101",
157+
'flw_ref' => 'FLW-MOCK-PREAUTH-72544a3c7659bcd74cc3a3110fe95101',
158158
];
159159

160160
$this->flutterwave
@@ -175,4 +175,3 @@
175175
'data' => ['*'],
176176
]);
177177
});
178-

tests/Flutterwave/TransactionApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188
$payload = [
189189
'amount' => 20000,
190-
'currency' => 'NGN'
190+
'currency' => 'NGN',
191191
];
192192

193193
$this->flutterwave

tests/Paystack/PaystackTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
'reference' => '123456789',
4141
'callback_url' => 'https://example.com',
4242
]))
43-
->toBeObject()
44-
->toBeInstanceOf(RedirectResponse::class);
43+
->toBeObject()
44+
->toBeInstanceOf(RedirectResponse::class);
4545
});
4646

4747
it('can redirect to checkout for payment using request() arguments', function () {

0 commit comments

Comments
 (0)