From 1f84c892505188130c221cd89720ad64c03b4b88 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 06:37:06 +0000 Subject: [PATCH] chore(deps): update module github.com/vektra/mockery/v2 to v2.46.0 --- cart/application/cartCache.go | 2 +- cart/application/eventHandling.go | 2 +- cart/application/receiver.go | 2 +- cart/application/service.go | 2 +- cart/domain/cart/cartServicePorts.go | 12 ++++++------ cart/domain/validation/itemValidator.go | 2 +- cart/infrastructure/defaultCartBehaviour.go | 4 ++-- category/domain/service.go | 2 +- category/interfaces/controller/querycommand.go | 2 +- customer/domain/customer.go | 4 ++-- payment/interfaces/webpayment.go | 2 +- product/domain/productService.go | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/cart/application/cartCache.go b/cart/application/cartCache.go index e6bcabe1b..e4f0f3664 100644 --- a/cart/application/cartCache.go +++ b/cart/application/cartCache.go @@ -16,7 +16,7 @@ import ( "flamingo.me/flamingo/v3/framework/web" ) -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CartCache --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name CartCache --case snake type ( // CartCache describes a cart caches methods diff --git a/cart/application/eventHandling.go b/cart/application/eventHandling.go index 99a385556..dddf235a4 100644 --- a/cart/application/eventHandling.go +++ b/cart/application/eventHandling.go @@ -13,7 +13,7 @@ import ( cartDomain "flamingo.me/flamingo-commerce/v3/cart/domain/cart" ) -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CartMerger --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name CartMerger --case snake type ( // EventReceiver handles events from other packages diff --git a/cart/application/receiver.go b/cart/application/receiver.go index 1ea07b580..e47da6f10 100644 --- a/cart/application/receiver.go +++ b/cart/application/receiver.go @@ -1,6 +1,6 @@ package application -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name Receiver --case snake --structname CartReceiver +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name Receiver --case snake --structname CartReceiver import ( "context" diff --git a/cart/application/service.go b/cart/application/service.go index dcb2ded99..34797c9e5 100644 --- a/cart/application/service.go +++ b/cart/application/service.go @@ -1,6 +1,6 @@ package application -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name Service --case snake --structname CartService +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name Service --case snake --structname CartService import ( "context" diff --git a/cart/domain/cart/cartServicePorts.go b/cart/domain/cart/cartServicePorts.go index 22990b140..037f15d09 100644 --- a/cart/domain/cart/cartServicePorts.go +++ b/cart/domain/cart/cartServicePorts.go @@ -1,11 +1,11 @@ package cart -//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 +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name CompleteBehaviour --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name CustomerCartService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name GiftCardAndVoucherBehaviour --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name GiftCardBehaviour --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name GuestCartService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name ModifyBehaviour --case snake import ( "context" diff --git a/cart/domain/validation/itemValidator.go b/cart/domain/validation/itemValidator.go index 691c54df9..e5abc3c94 100644 --- a/cart/domain/validation/itemValidator.go +++ b/cart/domain/validation/itemValidator.go @@ -12,7 +12,7 @@ import ( "flamingo.me/flamingo-commerce/v3/product/domain" ) -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name ItemValidator --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name ItemValidator --case snake type ( // ItemValidator checks a cart item diff --git a/cart/infrastructure/defaultCartBehaviour.go b/cart/infrastructure/defaultCartBehaviour.go index 0077a12a8..75619a842 100644 --- a/cart/infrastructure/defaultCartBehaviour.go +++ b/cart/infrastructure/defaultCartBehaviour.go @@ -19,8 +19,8 @@ import ( "flamingo.me/flamingo-commerce/v3/product/domain" ) -//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 +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name GiftCardHandler --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name VoucherHandler --case snake type ( // DefaultCartBehaviour defines the default cart order behaviour diff --git a/category/domain/service.go b/category/domain/service.go index dd19afe41..62b9f09e9 100644 --- a/category/domain/service.go +++ b/category/domain/service.go @@ -10,7 +10,7 @@ var ( ErrNotFound = errors.New("category not found") ) -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name CategoryService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name CategoryService --case snake type ( // CategoryService interface diff --git a/category/interfaces/controller/querycommand.go b/category/interfaces/controller/querycommand.go index dfeac7dd1..e4298fff0 100644 --- a/category/interfaces/controller/querycommand.go +++ b/category/interfaces/controller/querycommand.go @@ -15,7 +15,7 @@ import ( "flamingo.me/flamingo-commerce/v3/search/utils" ) -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name ProductSearchService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name ProductSearchService --case snake type ( // QueryHandler provides the base command logic that is agnostic to the actual view type diff --git a/customer/domain/customer.go b/customer/domain/customer.go index f3142c3d9..89fa50a3b 100644 --- a/customer/domain/customer.go +++ b/customer/domain/customer.go @@ -1,7 +1,7 @@ package domain -//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 +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name Customer --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name CustomerIdentityService --case snake import ( "context" diff --git a/payment/interfaces/webpayment.go b/payment/interfaces/webpayment.go index ae6241e4d..a25f9d57e 100644 --- a/payment/interfaces/webpayment.go +++ b/payment/interfaces/webpayment.go @@ -9,7 +9,7 @@ import ( "flamingo.me/flamingo-commerce/v3/payment/domain" ) -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name WebCartPaymentGateway --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name WebCartPaymentGateway --case snake type ( // WebCartPaymentGatewayProvider defines the map of providers for payment providers diff --git a/product/domain/productService.go b/product/domain/productService.go index c3f38d5a7..8fd58449b 100644 --- a/product/domain/productService.go +++ b/product/domain/productService.go @@ -7,7 +7,7 @@ import ( searchDomain "flamingo.me/flamingo-commerce/v3/search/domain" ) -//go:generate go run github.com/vektra/mockery/v2@v2.45.0 --name ProductService --case snake +//go:generate go run github.com/vektra/mockery/v2@v2.46.0 --name ProductService --case snake type ( // ProductService interface