mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 14:04:32 +08:00
18 lines
543 B
C#
18 lines
543 B
C#
using System.Threading.Tasks;
|
|
using Xunit;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
|
|
{
|
|
public class TestCase_ApiExecuteMpTests
|
|
{
|
|
[Fact(DisplayName = "测试用例:调用 API [POST] /getbindlink/{TOKEN}")]
|
|
public async Task TestExecuteSign()
|
|
{
|
|
var request = new Models.GetBindLinkRequest() { RedirectUrl = "https://example.com" };
|
|
var response = await TestClients.Instance.ExecuteGetBindLinkAsync(request);
|
|
|
|
Assert.NotNull(response.LinkUrl);
|
|
}
|
|
}
|
|
}
|