22 lines
326 B
Go
22 lines
326 B
Go
|
|
package game
|
||
|
|
|
||
|
|
import (
|
||
|
|
"testing"
|
||
|
|
"time"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestName(t *testing.T) {
|
||
|
|
roleReq := CreateGetGameRoleInfoReq(3706, 1373, 0, 0, "13924600328")
|
||
|
|
roleReq.SetReadTimeout(10 * time.Minute)
|
||
|
|
|
||
|
|
client, _ := NewClient()
|
||
|
|
response, err := client.GetGameRoleInfo(roleReq)
|
||
|
|
if err != nil {
|
||
|
|
t.Error(err)
|
||
|
|
return
|
||
|
|
}
|
||
|
|
|
||
|
|
_ = response
|
||
|
|
|
||
|
|
}
|