1
0
mirror of synced 2026-10-09 00:12:37 +08:00

🎨 增加微信接口里包含错误拼写单词的地址校验的单元测试

This commit is contained in:
Codex
2026-07-04 21:16:37 +08:00
committed by GitHub
parent 3f2349f357
commit 8242de6ce8

View File

@@ -0,0 +1,15 @@
package cn.binarywang.wx.miniapp.constant;
import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;
public class WxMaApiUrlConstantsXPayTest {
@Test
public void testBindTransferAccountUrl() {
// 官方文档接口路径本身拼写为 accout,保持与官方文档一致
String url = WxMaApiUrlConstants.XPay.BIND_TRANSFER_ACCOUNT_URL;
assertEquals(url, "https://api.weixin.qq.com/xpay/bind_transfer_accout?pay_sig=%s");
}
}