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

@@ -5,7 +5,7 @@ use Apoloz\AlfaBank\Requests\Scoring\GetComplianceScoreRequest;
use Apoloz\AlfaBank\Requests\Security\GetSubscriptionsRequest;
use Saloon\Http\Faking\MockResponse;
test('can get compliance score', function () {
test('can get compliance score', function (): void {
$mockClient = new \Saloon\Http\Faking\MockClient([
GetComplianceScoreRequest::class => MockResponse::make(['score' => 'LOW_RISK'], 200),
]);
@@ -20,7 +20,7 @@ test('can get compliance score', function () {
->and($response->json('score'))->toBe('LOW_RISK');
});
test('can get security subscriptions', function () {
test('can get security subscriptions', function (): void {
$mockClient = new \Saloon\Http\Faking\MockClient([
GetSubscriptionsRequest::class => MockResponse::make(['subscriptions' => []], 200),
]);
@@ -29,7 +29,7 @@ test('can get security subscriptions', function () {
$connector = new AlfaBankConnector($config);
$connector->withMockClient($mockClient);
$response = $connector->send(new GetSubscriptionsRequest());
$response = $connector->send(new GetSubscriptionsRequest);
expect($response->status())->toBe(200);
});