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.

29 lines
408 B
Go

package players
import (
"context"
"joybuywork/internal/repository/cache"
"testing"
_ "joybuywork/test"
)
func TestQaAnswer(t *testing.T) {
ctx := context.Background()
user, _ := cache.NewFissionUser(ctx, 5537).FindById(417362857461927936)
player, _ := NewQa(ctx, user, 8)
player.Answer([]*QaAnswer{
{
QID: 138,
AID: []int64{464},
},
{
QID: 139,
AID: []int64{466},
},
})
}