fix(formating)

This commit is contained in:
Anatoliy Poloz
2026-01-28 03:36:26 +03:00
parent 1723177949
commit b15d29f8e9
313 changed files with 1863 additions and 1533 deletions

View File

@@ -1,16 +1,15 @@
<?php
use Apoloz\AlfaBank\Core\AlfaBankConnector;
use Apoloz\AlfaBank\Core\AlfaConfig;
use Apoloz\AlfaBank\Requests\SelfEmployed\CreatePayoutRequest;
use Apoloz\AlfaBank\Data\SelfEmployed\PayoutRequestData;
use Apoloz\AlfaBank\Requests\SelfEmployed\CreatePayoutRequest;
use Saloon\Http\Faking\MockResponse;
test('can create a payout for self-employed', function () {
test('can create a payout for self-employed', function (): void {
$mockClient = new \Saloon\Http\Faking\MockClient([
CreatePayoutRequest::class => MockResponse::make([
'requestId' => 'payout-req-123',
'state' => 'PROCESSED'
'state' => 'PROCESSED',
], 200, ['Content-Type' => 'application/json']),
]);
@@ -22,7 +21,7 @@ test('can create a payout for self-employed', function () {
externalId: 'ext-id-456',
company: ['vatin' => '7700000000'],
requisite: [
['amount' => 1000, 'vatin' => '112233445566']
['amount' => 1000, 'vatin' => '112233445566'],
]
);