go-common/app/job/main/passport-game-cloud/dao/notify_test.go

18 lines
360 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package dao
import (
"context"
"testing"
)
func TestDao_NotifyGame(t *testing.T) {
once.Do(startDao)
mid := int64(4780461)
ak := "3cf80530cccafaa9ed675d8a493c1a89#tx"
action := "changePwd"
if err := d.NotifyGame(context.TODO(), mid, ak, action); err != nil {
t.Errorf("dao.NotifyGame(%d, %s, %s) error(%v)", mid, ak, action, err)
t.FailNow()
}
}