Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update module github.com/vektra/mockery/v2 to v2.45.0 #601

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cart/application/cartCache.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"flamingo.me/flamingo/v3/framework/web"
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name CartCache --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CartCache --case snake

type (
// CartCache describes a cart caches methods
Expand Down
2 changes: 1 addition & 1 deletion cart/application/eventHandling.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
cartDomain "flamingo.me/flamingo-commerce/v3/cart/domain/cart"
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name CartMerger --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CartMerger --case snake

type (
// EventReceiver handles events from other packages
Expand Down
2 changes: 1 addition & 1 deletion cart/application/receiver.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package application

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name Receiver --case snake --structname CartReceiver
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name Receiver --case snake --structname CartReceiver

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion cart/application/service.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package application

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name Service --case snake --structname CartService
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name Service --case snake --structname CartService

import (
"context"
Expand Down
12 changes: 6 additions & 6 deletions cart/domain/cart/cartServicePorts.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package cart

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name CompleteBehaviour --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name CustomerCartService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name GiftCardAndVoucherBehaviour --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name GiftCardBehaviour --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name GuestCartService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name ModifyBehaviour --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CompleteBehaviour --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CustomerCartService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name GiftCardAndVoucherBehaviour --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name GiftCardBehaviour --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name GuestCartService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name ModifyBehaviour --case snake

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion cart/domain/validation/itemValidator.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"flamingo.me/flamingo-commerce/v3/product/domain"
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name ItemValidator --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name ItemValidator --case snake

type (
// ItemValidator checks a cart item
Expand Down
4 changes: 2 additions & 2 deletions cart/infrastructure/defaultCartBehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"flamingo.me/flamingo-commerce/v3/product/domain"
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name GiftCardHandler --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name VoucherHandler --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name GiftCardHandler --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name VoucherHandler --case snake

type (
// DefaultCartBehaviour defines the default cart order behaviour
Expand Down
2 changes: 1 addition & 1 deletion category/domain/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var (
ErrNotFound = errors.New("category not found")
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name CategoryService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CategoryService --case snake

type (
// CategoryService interface
Expand Down
2 changes: 1 addition & 1 deletion category/interfaces/controller/querycommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"flamingo.me/flamingo-commerce/v3/search/utils"
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name ProductSearchService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name ProductSearchService --case snake

type (
// QueryHandler provides the base command logic that is agnostic to the actual view type
Expand Down
4 changes: 2 additions & 2 deletions customer/domain/customer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package domain

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name Customer --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name CustomerIdentityService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name Customer --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CustomerIdentityService --case snake

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion payment/interfaces/webpayment.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"flamingo.me/flamingo-commerce/v3/payment/domain"
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name WebCartPaymentGateway --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name WebCartPaymentGateway --case snake

type (
// WebCartPaymentGatewayProvider defines the map of providers for payment providers
Expand Down
2 changes: 1 addition & 1 deletion product/domain/productService.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
searchDomain "flamingo.me/flamingo-commerce/v3/search/domain"
)

//go:generate go run github.com/vektra/mockery/v2@v2.44.1 --name ProductService --case snake
//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name ProductService --case snake

type (
// ProductService interface
Expand Down