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.
 
 
 
 
 
 

19 lines
281 B

package service
import (
"log"
"testing"
)
func TestCreateFavoriteInRDB(t *testing.T) {
Init()
userId := int64(1111111111111111111)
videoId := int64(2222222222222222222)
op := true
err := CreateFavoriteInRDB(userId, videoId, op)
if err != nil {
log.Panicln(err)
}
}