package user import ( "github.com/beego/beego/v2/server/web" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg" _ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/port/beego" "net/http" "net/http/httptest" "testing" ) func TestUserFavoriteMenus(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "Beego Port UserFavoriteMenus Correlations Test Case Suite") } var handler http.Handler var server *httptest.Server var _ = BeforeSuite(func() { handler = web.BeeApp.Handlers server = httptest.NewServer(handler) }) var _ = AfterSuite(func() { server.Close() })