mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
28bfe72930
* feat: uniqueness on events * fix: some tests * fix: add unique username * fix: nice error message * fix: add unique test * fix: add unique test * fix: add unique constraint to events * fix: correct unique constraint on user events * fix: remove user constraint * fix: add unique constraints * fix: add unique constraints * fix: add unique constraints * fix: unnique constraints without interface * fix: unique idp config * fix: unique constraint comments * fix: unique constraints in one table * fix: unique constraints error * fix: fix unique constraint on create user * fix: fix unique constraint on create project * fix: fix unique constraint on idp configs
49 lines
1.3 KiB
Go
49 lines
1.3 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: spooler.go
|
|
|
|
// Package mock is a generated GoMock package.
|
|
package mock
|
|
|
|
import (
|
|
gomock "github.com/golang/mock/gomock"
|
|
reflect "reflect"
|
|
time "time"
|
|
)
|
|
|
|
// MockLocker is a mock of Locker interface
|
|
type MockLocker struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockLockerMockRecorder
|
|
}
|
|
|
|
// MockLockerMockRecorder is the mock recorder for MockLocker
|
|
type MockLockerMockRecorder struct {
|
|
mock *MockLocker
|
|
}
|
|
|
|
// NewMockLocker creates a new mock instance
|
|
func NewMockLocker(ctrl *gomock.Controller) *MockLocker {
|
|
mock := &MockLocker{ctrl: ctrl}
|
|
mock.recorder = &MockLockerMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
|
func (m *MockLocker) EXPECT() *MockLockerMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// Renew mocks base method
|
|
func (m *MockLocker) Renew(lockerID, viewModel string, waitTime time.Duration) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Renew", lockerID, viewModel, waitTime)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// Renew indicates an expected call of Renew
|
|
func (mr *MockLockerMockRecorder) Renew(lockerID, viewModel, waitTime interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Renew", reflect.TypeOf((*MockLocker)(nil).Renew), lockerID, viewModel, waitTime)
|
|
}
|