- initial dingdingapi added.
This commit is contained in:
@@ -2,8 +2,8 @@ package weixinapi
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestRefreshToken(t *testing.T) {
|
||||
result, err := weixinapi.CBRefreshToken()
|
||||
func TestCBRetrieveToken(t *testing.T) {
|
||||
result, err := weixinapi.CBRetrieveToken()
|
||||
if err != nil || result.ExpiresIn != 7200 {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user