Skip to content

Commit 1a7ea6d

Browse files
committed
update params of Account::subTransfer()
1 parent 5fd982b commit 1a7ea6d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/AccountTest.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,13 @@ public function testGetSubAccountDetail(Account $api)
287287
public function testSubTransfer(Account $api)
288288
{
289289
$transfer = [
290-
'clientOid' => uniqid(),
291-
'amount' => 1,
292-
'direction' => 'OUT',
293-
'currency' => 'KCS',
294-
'subUserId' => '5cc5b31c38300c336230d071',
290+
'clientOid' => uniqid(),
291+
'amount' => 1,
292+
'direction' => 'OUT',
293+
'currency' => 'KCS',
294+
'accountType' => 'main',
295+
'subAccountType' => 'trade',
296+
'subUserId' => '5cc5b31c38300c336230d071',
295297
];
296298
$result = $api->subTransfer($transfer);
297299
$this->assertInternalType('array', $result);

0 commit comments

Comments
 (0)