Skip to content

Commit

Permalink
change: close 的 API 参数只支持 array,不再支持 string
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Dec 22, 2023
1 parent c3ebe39 commit b8aa354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Provider/UnipayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function testClose()
self::expectException(InvalidParamsException::class);
self::expectExceptionCode(Exception::METHOD_NOT_SUPPORTED);

Pay::unipay()->close('foo');
Pay::unipay()->close(['foo']);
}

public function testRefund()
Expand Down

0 comments on commit b8aa354

Please sign in to comment.