diff --git a/ee/secureenclavesigner/mocks/persister.go b/ee/secureenclavesigner/mocks/persister.go deleted file mode 100644 index 7a96082c9..000000000 --- a/ee/secureenclavesigner/mocks/persister.go +++ /dev/null @@ -1,38 +0,0 @@ -// Code generated by mockery v2.33.3. DO NOT EDIT. - -package mocks - -import mock "github.com/stretchr/testify/mock" - -// Persister is an autogenerated mock type for the persister type -type Persister struct { - mock.Mock -} - -// Persist provides a mock function with given fields: _a0 -func (_m *Persister) Persist(_a0 []byte) error { - ret := _m.Called(_a0) - - var r0 error - if rf, ok := ret.Get(0).(func([]byte) error); ok { - r0 = rf(_a0) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// NewPersister creates a new instance of Persister. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -// The first argument is typically a *testing.T value. -func NewPersister(t interface { - mock.TestingT - Cleanup(func()) -}) *Persister { - mock := &Persister{} - mock.Mock.Test(t) - - t.Cleanup(func() { mock.AssertExpectations(t) }) - - return mock -} diff --git a/ee/secureenclavesigner/secureenclavesigner_test.go b/ee/secureenclavesigner/secureenclavesigner_test.go index b26000646..b92986ad3 100644 --- a/ee/secureenclavesigner/secureenclavesigner_test.go +++ b/ee/secureenclavesigner/secureenclavesigner_test.go @@ -39,6 +39,7 @@ func TestSecureEnclaveSigner(t *testing.T) { } // put the root dir somewhere else if you want to persist the signed macos app bundle + // should build this into make at some point // rootDir := "/tmp/secure_enclave_test" rootDir := t.TempDir()