123456789101112131415161718192021222324252627282930313233343536 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using TianQue.Sdk;
- namespace Hotline.Application.Tests.Infrastructure;
- public class TianQueTest
- {
- [Fact]
- public void Test_GenerateNonce()
- {
- // Arrange
- var nonce = SignUtils.GenerateNonce();
- // Assert
- Assert.NotNull(nonce);
- Assert.Equal(64, nonce.Length);
- // b55dfdedba900437d486e70e5fb78ed50afaeb910a2346f16ef03af656f8bb0b
- }
- [Fact]
- public async Task PostAcceptInfo_Test()
- {
- // Arrange
- //var tiqnQueService = new TiqnQueService();
- //// Act
- //var result = await tiqnQueService.PostAcceptInfo();
- //// Assert
- //Assert.Equal("ok", result);
- }
- }
|