mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 02:29:40 +08:00
refactor: clean code
This commit is contained in:
@@ -4,7 +4,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.UnitTests
|
||||
{
|
||||
public class TestCase_WechatEventDataCryptorTests
|
||||
{
|
||||
[Fact(DisplayName = "试用例:验签并解密回调数据")]
|
||||
[Fact(DisplayName = "测试用例:验签并解密回调数据")]
|
||||
public void TestVerifyAndDecryptEvent()
|
||||
{
|
||||
string token = "QDG6eK";
|
||||
@@ -23,7 +23,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.UnitTests
|
||||
Assert.True(Utilities.WechatEventDataCryptor.VerifySignature(token, reqTimeStamp, reqNonce, reqCipherText, reqMsgSig));
|
||||
}
|
||||
|
||||
[Fact(DisplayName = "试用例:验签回调数据")]
|
||||
[Fact(DisplayName = "测试用例:验签回调数据")]
|
||||
public void TestVerifyEvent()
|
||||
{
|
||||
string token = "ovAkP0Tb";
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Work.UnitTests
|
||||
{
|
||||
public class TestCase_WechatEventDataCryptorUtilityTests
|
||||
public class TestCase_WechatEventDataCryptorTests
|
||||
{
|
||||
[Fact(DisplayName = "测试用例:回调信息解析")]
|
||||
public void TestWxBizMsgCryptorParsing()
|
Reference in New Issue
Block a user