From de365f41e91019b9d0c8b179721c5870ca52b12b Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 29 Apr 2020 15:13:25 +0200 Subject: [PATCH] Fix test by regenerating mock Signed-off-by: Nicolas De Loof --- ecs/pkg/amazon/mock/api.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ecs/pkg/amazon/mock/api.go b/ecs/pkg/amazon/mock/api.go index 59f661775..fd9b01c05 100644 --- a/ecs/pkg/amazon/mock/api.go +++ b/ecs/pkg/amazon/mock/api.go @@ -194,3 +194,18 @@ func (mr *MockAPIMockRecorder) StackExists(arg0, arg1 interface{}) *gomock.Call mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StackExists", reflect.TypeOf((*MockAPI)(nil).StackExists), arg0, arg1) } + +// VpcExists mocks base method +func (m *MockAPI) VpcExists(arg0 context.Context, arg1 string) (bool, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "VpcExists", arg0, arg1) + ret0, _ := ret[0].(bool) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// VpcExists indicates an expected call of VpcExists +func (mr *MockAPIMockRecorder) VpcExists(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VpcExists", reflect.TypeOf((*MockAPI)(nil).VpcExists), arg0, arg1) +}