作者 yangfu

add user

package user
package user-favorite-menus
import (
"github.com/gavv/httpexpect"
"github.com/go-pg/pg/v10"
pG "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"net/http"
"github.com/gavv/httpexpect"
"github.com/go-pg/pg/v10"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
pG "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg"
"net/http"
)
var _ = Describe("移除我收藏的菜单", func() {
... ...
package user
package user-favorite-menus
import (
"github.com/gavv/httpexpect"
"github.com/go-pg/pg/v10"
pG "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"net/http"
"github.com/gavv/httpexpect"
"github.com/go-pg/pg/v10"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
pG "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg"
"net/http"
)
var _ = Describe("获取我收藏的菜单", func() {
... ...
package user
package user-favorite-menus
import (
"github.com/gavv/httpexpect"
"github.com/go-pg/pg/v10"
pG "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"net/http"
"github.com/gavv/httpexpect"
"github.com/go-pg/pg/v10"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
pG "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg"
"net/http"
)
var _ = Describe("更新我喜欢菜单列表", func() {
... ...
package user
package user-favorite-menus
import (
"github.com/beego/beego/v2/server/web"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"net/http"
"net/http/httptest"
_ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/application"
_ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/infrastructure/pg"
_ "gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/port/beego"
"testing"
"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) {
... ...