diff --git a/gomall/app/cart/biz/service/empty_cart_test.go b/gomall/app/cart/biz/service/empty_cart_test.go index 4f57d831..a605a161 100644 --- a/gomall/app/cart/biz/service/empty_cart_test.go +++ b/gomall/app/cart/biz/service/empty_cart_test.go @@ -15,24 +15,9 @@ package service import ( - "context" "testing" - - cart "github.com/cloudwego/biz-demo/gomall/app/cart/kitex_gen/cart" ) func TestEmptyCart_Run(t *testing.T) { - ctx := context.Background() - s := NewEmptyCartService(ctx) - // init req and assert value - req := &cart.EmptyCartRequest{} - resp, err := s.Run(req) - if err != nil { - t.Errorf("unexpected error: %v", err) - } - if resp == nil { - t.Errorf("unexpected nil response") - } - // todo: edit your unit test }