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.
20 lines
419 B
20 lines
419 B
package service |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
var ( |
|
testVipStatus int32 = 2 |
|
testVipMid int64 = 110 |
|
) |
|
|
|
//go test -test.v -test.run TestUpdateVipStatus |
|
func TestUpdateVipStatus(t *testing.T) { |
|
Convey("TestUpdateVipStatus update vip status", t, WithService(func(s *Service) { |
|
So(s.UpdateVipStatus(context.TODO(), testVipMid, testVipStatus), ShouldBeNil) |
|
})) |
|
}
|
|
|