We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2349f commit 8242de6Copy full SHA for 8242de6
1 file changed
weixin-java-miniapp/src/test/java/cn/binarywang/wx/miniapp/constant/WxMaApiUrlConstantsXPayTest.java
@@ -0,0 +1,15 @@
1
+package cn.binarywang.wx.miniapp.constant;
2
+
3
+import org.testng.annotations.Test;
4
5
+import static org.testng.Assert.assertEquals;
6
7
+public class WxMaApiUrlConstantsXPayTest {
8
9
+ @Test
10
+ public void testBindTransferAccountUrl() {
11
+ // 官方文档接口路径本身拼写为 accout,保持与官方文档一致
12
+ String url = WxMaApiUrlConstants.XPay.BIND_TRANSFER_ACCOUNT_URL;
13
+ assertEquals(url, "https://api.weixin.qq.com/xpay/bind_transfer_accout?pay_sig=%s");
14
+ }
15
+}
0 commit comments