mirror of
https://github.com/Jinnrry/PMail.git
synced 2025-10-06 15:56:52 +08:00
@@ -1,4 +1,4 @@
|
||||
package wechat_push
|
||||
package main
|
||||
|
||||
import (
|
||||
"pmail/config"
|
||||
@@ -15,5 +15,5 @@ func TestWeChatPushHook_ReceiveParseAfter(t *testing.T) {
|
||||
testInit()
|
||||
|
||||
w := NewWechatPushHook()
|
||||
w.ReceiveParseAfter(&parsemail.Email{Subject: "标题", Text: []byte("文本内容")})
|
||||
w.ReceiveParseAfter(nil, &parsemail.Email{Subject: "标题", Text: []byte("文本内容")})
|
||||
}
|
||||
|
Reference in New Issue
Block a user