forked from apoloz/alfa-bank-sdk
fix(formating)
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
<?php
|
||||
|
||||
use Apoloz\AlfaBank\Core\AlfaBankConnector;
|
||||
use Apoloz\AlfaBank\Core\AlfaConfig;
|
||||
use Apoloz\AlfaBank\Requests\SelfEmployed\GetTaxpayerStatusRequest;
|
||||
use Apoloz\AlfaBank\Data\SelfEmployed\TaxpayerStatusRequestData;
|
||||
use Apoloz\AlfaBank\Requests\SelfEmployed\GetTaxpayerStatusRequest;
|
||||
use Saloon\Http\Faking\MockResponse;
|
||||
|
||||
test('can get self-employed status from FTS', function () {
|
||||
test('can get self-employed status from FTS', function (): void {
|
||||
$mockClient = new \Saloon\Http\Faking\MockClient([
|
||||
GetTaxpayerStatusRequest::class => MockResponse::make([
|
||||
'requestId' => '00000000-0000-0000-0000-000000000001',
|
||||
@@ -15,9 +14,9 @@ test('can get self-employed status from FTS', function () {
|
||||
[
|
||||
'vatin' => '112233445566',
|
||||
'status' => 'ACTIVE',
|
||||
'message' => 'Is self-employed'
|
||||
]
|
||||
]
|
||||
'message' => 'Is self-employed',
|
||||
],
|
||||
],
|
||||
], 200, ['Content-Type' => 'application/json']),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user