You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
360 B
17 lines
360 B
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() |
|
} |
|
}
|
|
|