From 60a800b076ac359e78fd57c79ce6f1b9ef870e59 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Tue, 30 Apr 2024 07:40:53 -0500 Subject: [PATCH] mockery cleanup (#13019) --- .tool-versions | 2 +- common/types/mocks/subscription.go | 2 +- common/types/subscription.go | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.tool-versions b/.tool-versions index 4aa55bda3f5..9db7d9b080d 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,5 +1,5 @@ golang 1.21.7 -mockery 2.38.0 +mockery 2.42.2 nodejs 16.16.0 pnpm 8.11.0 postgres 13.3 diff --git a/common/types/mocks/subscription.go b/common/types/mocks/subscription.go index 32db6dfa769..e52fafa7ca5 100644 --- a/common/types/mocks/subscription.go +++ b/common/types/mocks/subscription.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.42.2. DO NOT EDIT. package mocks diff --git a/common/types/subscription.go b/common/types/subscription.go index 36d41ce1a20..e0cd0a1660d 100644 --- a/common/types/subscription.go +++ b/common/types/subscription.go @@ -1,9 +1,10 @@ package types +//go:generate mockery --quiet --name Subscription --output ./mocks/ --case=underscore + // Subscription represents an event subscription where events are // delivered on a data channel. // This is a generic interface for Subscription to represent used by clients. - type Subscription interface { // Unsubscribe cancels the sending of events to the data channel // and closes the error channel.