forked from apoloz/alfa-bank-sdk
fix(formating)
This commit is contained in:
@@ -5,7 +5,7 @@ use Apoloz\AlfaBank\Requests\Poa\CreatePoaRequest;
|
||||
use Apoloz\AlfaBank\Requests\Poa\GetPoaRequestStatusRequest;
|
||||
use Saloon\Http\Faking\MockResponse;
|
||||
|
||||
test('can create poa request', function () {
|
||||
test('can create poa request', function (): void {
|
||||
$mockClient = new \Saloon\Http\Faking\MockClient([
|
||||
CreatePoaRequest::class => MockResponse::make(['requestUuid' => 'uuid-123'], 200),
|
||||
]);
|
||||
@@ -20,7 +20,7 @@ test('can create poa request', function () {
|
||||
->and($response->json('requestUuid'))->toBe('uuid-123');
|
||||
});
|
||||
|
||||
test('can get poa request status', function () {
|
||||
test('can get poa request status', function (): void {
|
||||
$mockClient = new \Saloon\Http\Faking\MockClient([
|
||||
GetPoaRequestStatusRequest::class => MockResponse::make(['status' => 'COMPLETED'], 200),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user