Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoogle-ink committed Dec 21, 2020
1 parent 541541e commit ced5939
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion wechat/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (
client *Client
appId = "wxdaa2ab9ef87b5497"
mchId = "1368139502"
apiKey = "GFDS8j98rewnmgl45wHTt980jg543abc"
apiKey = "GFDS8j98rewnmgl45wHTt980jg543wmg"
)

func TestMain(m *testing.M) {
Expand All @@ -34,6 +34,13 @@ func TestMain(m *testing.M) {
// 设置国家,不设置默认就是 China
client.SetCountry(China)

// 添加证书n内容
//err := client.AddCertFileContent(nil, nil, nil)
//if err != nil {
// panic(err)
//}

// 添加证书路径
//err := client.AddCertFilePath(nil, nil, nil)
//if err != nil {
// panic(err)
Expand Down

0 comments on commit ced5939

Please sign in to comment.