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
251 B
17 lines
251 B
package service
|
|
|
|
import (
|
|
"log"
|
|
"testing"
|
|
)
|
|
|
|
func TestQueryIsFavorite(t *testing.T) {
|
|
Init()
|
|
|
|
res, err := QueryIsFavorite(int64(1111111111111111111), []int64{int64(2222222222222222222)})
|
|
if err != nil {
|
|
log.Panicln(err)
|
|
}
|
|
|
|
log.Println(res)
|
|
}
|
|
|