mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 07:59:44 +08:00
18 lines
515 B
C#
18 lines
515 B
C#
using System.Threading.Tasks;
|
|
using Xunit;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
|
|
{
|
|
public class TestCase_ApiExecuteDialogTests
|
|
{
|
|
[Fact(DisplayName = "测试用例:调用 API [POST] /sign/{TOKEN}")]
|
|
public async Task TestExecuteSign()
|
|
{
|
|
var request = new Models.SignRequest() { UserId = "TEST_USERID" };
|
|
var response = await TestClients.Instance.ExecuteSignAsync(request);
|
|
|
|
Assert.NotNull(response.Signature);
|
|
}
|
|
}
|
|
}
|