forked from apoloz/alfa-bank-sdk
fix(formating)
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
<?php
|
||||
|
||||
use Apoloz\AlfaBank\Core\AlfaBankConnector;
|
||||
use Apoloz\AlfaBank\Core\AlfaConfig;
|
||||
use Apoloz\AlfaBank\Requests\Statement\GetTransactionsRequest;
|
||||
use Saloon\Http\Faking\MockResponse;
|
||||
|
||||
test('can get transactions statement', function () {
|
||||
test('can get transactions statement', function (): void {
|
||||
$mockClient = new \Saloon\Http\Faking\MockClient([
|
||||
GetTransactionsRequest::class => MockResponse::make([
|
||||
'pagination' => [
|
||||
'totalCount' => 1,
|
||||
'limit' => 10,
|
||||
'offset' => 0
|
||||
'offset' => 0,
|
||||
],
|
||||
'transactions' => [
|
||||
[
|
||||
@@ -23,9 +22,9 @@ test('can get transactions statement', function () {
|
||||
'amount' => ['amount' => 100.00, 'currencyName' => 'RUB'],
|
||||
'amountRub' => ['amount' => 100.00, 'currencyName' => 'RUB'],
|
||||
'paymentPurpose' => 'Test',
|
||||
'correspondingAccount' => '408...'
|
||||
]
|
||||
]
|
||||
'correspondingAccount' => '408...',
|
||||
],
|
||||
],
|
||||
], 200, ['Content-Type' => 'application/json']),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user