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

@@ -6,7 +6,7 @@ use Apoloz\AlfaBank\Requests\Claims\ResolveClaimRequest;
use Apoloz\AlfaBank\Requests\Logistics\ExecuteOrderActionRequest;
use Saloon\Http\Faking\MockResponse;
test('can check 1c merchant', function () {
test('can check 1c merchant', function (): void {
$mockClient = new \Saloon\Http\Faking\MockClient([
CheckMerchantRequest::class => MockResponse::make([], 200),
]);
@@ -20,7 +20,7 @@ test('can check 1c merchant', function () {
expect($response->status())->toBe(200);
});
test('can resolve claim', function () {
test('can resolve claim', function (): void {
$mockClient = new \Saloon\Http\Faking\MockClient([
ResolveClaimRequest::class => MockResponse::make([], 200),
]);
@@ -34,7 +34,7 @@ test('can resolve claim', function () {
expect($response->status())->toBe(200);
});
test('can execute logistics action', function () {
test('can execute logistics action', function (): void {
$mockClient = new \Saloon\Http\Faking\MockClient([
ExecuteOrderActionRequest::class => MockResponse::make([], 200),
]);
@@ -43,7 +43,7 @@ test('can execute logistics action', function () {
$connector = new AlfaBankConnector($config);
$connector->withMockClient($mockClient);
$response = $connector->send(new ExecuteOrderActionRequest(1, 2, 'ORDER-1', 'deliver', new \Apoloz\AlfaBank\Data\Logistics\LogisticsActionData()));
$response = $connector->send(new ExecuteOrderActionRequest(1, 2, 'ORDER-1', 'deliver', new \Apoloz\AlfaBank\Data\Logistics\LogisticsActionData));
expect($response->status())->toBe(200);
});