You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
491 B
Go

package players
import (
"context"
"joybuywork/internal/repository/cache"
"testing"
_ "joybuywork/test"
)
func TestVsVote(t *testing.T) {
ctx := context.Background()
user, err := cache.NewFissionUser(ctx, 5501).FindById(402105141839065088)
if err != nil {
t.Error(err)
}
user.LangMark = "zh"
kg, err := NewVs(ctx, user)
if err != nil {
t.Error(err)
}
status, err := kg.Vote(402105085220155395, 402105085220155392)
if err != nil {
t.Error(err)
}
t.Log(status)
}