rpc
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
263 B

package coupon
import (
"testing"
)
func Test_IsAvailable(t *testing.T) {
dbname := "test1_tetele_com"
user_id := "2"
product_id := "2"
user_coupon_id := "3"
res, err := IsAvailable(dbname, user_id, product_id, user_coupon_id)
t.Log(res)
t.Log(err)
}