diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/ImageMessageReply.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/ImageMessageReply.xml new file mode 100644 index 00000000..82c5213b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/ImageMessageReply.xml @@ -0,0 +1,9 @@ + + + + 12345678 + + + + + \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/MusicMessageReply.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/MusicMessageReply.xml new file mode 100644 index 00000000..89ba2306 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/MusicMessageReply.xml @@ -0,0 +1,13 @@ + + + + 12345678 + + + <![CDATA[TITLE]]> + + + + + + \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/NewsMessageReply.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/NewsMessageReply.xml new file mode 100644 index 00000000..57922ba0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/NewsMessageReply.xml @@ -0,0 +1,15 @@ + + + + 12345678 + + 1 + + + <![CDATA[title1]]> + + + + + + \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/TextMessageReply.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/TextMessageReply.xml new file mode 100644 index 00000000..f421f780 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/TextMessageReply.xml @@ -0,0 +1,7 @@ + + + + 12345678 + + + \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/TransferCustomerServiceReply.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/TransferCustomerServiceReply.xml new file mode 100644 index 00000000..7e54afb7 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/TransferCustomerServiceReply.xml @@ -0,0 +1,9 @@ + + + + 1399197672 + + + + + \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/VideoMessageReply.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/VideoMessageReply.xml new file mode 100644 index 00000000..c5ece953 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/VideoMessageReply.xml @@ -0,0 +1,11 @@ + + + + 12345678 + + + \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/VoiceMessageReply.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/VoiceMessageReply.xml new file mode 100644 index 00000000..7e4e087f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/MpReply/VoiceMessageReply.xml @@ -0,0 +1,9 @@ + + + + 12345678 + + + + + \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/TestClients.cs b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/TestClients.cs index 1861fcbd..193cb226 100644 --- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/TestClients.cs +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/TestClients.cs @@ -6,7 +6,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.UnitTests { static TestClients() { - Instance = new WechatApiClient(TestConfigs.WechatAppId, TestConfigs.WechatAppSecret); + Instance = new WechatApiClient(new WechatApiClientOptions() + { + AppId = TestConfigs.WechatAppId, + AppSecret = TestConfigs.WechatAppSecret + }); } public static readonly WechatApiClient Instance;