v0.15.2 消息模板新增 #DATETIME# 占位符

This commit is contained in:
naiba
2023-09-02 00:06:40 +08:00
parent fc280615dd
commit 93bcf833fd
8 changed files with 107 additions and 122 deletions

View File

@@ -83,6 +83,7 @@ func execCase(t *testing.T, item testSt) {
ns := NotificationServerBundle{
Notification: &n,
Server: &server,
Loc: time.Local,
}
assert.Equal(t, item.expectURL, ns.reqURL(msg))
reqBody, err := ns.reqBody(msg)