fix: stabilize backend tests
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
"quyun/v2/database"
|
||||
"quyun/v2/database/models"
|
||||
"quyun/v2/pkg/consts"
|
||||
"quyun/v2/providers/storage"
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"github.com/stretchr/testify/suite"
|
||||
@@ -30,7 +29,7 @@ type CouponTestSuite struct {
|
||||
}
|
||||
|
||||
func Test_Coupon(t *testing.T) {
|
||||
providers := testx.Default().With(Provide).With(storage.Provide)
|
||||
providers := testx.Default().With(Provide)
|
||||
|
||||
testx.Serve(providers, t, func(p CouponTestSuiteInjectParams) {
|
||||
suite.Run(t, &CouponTestSuite{CouponTestSuiteInjectParams: p})
|
||||
|
||||
Reference in New Issue
Block a user