fix: mock struct change
This commit is contained in:
@@ -16,57 +16,46 @@ import (
|
|||||||
// Mock implementations for testing
|
// Mock implementations for testing
|
||||||
type mockPublisher struct {
|
type mockPublisher struct {
|
||||||
definition.Publisher
|
definition.Publisher
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockSchemaValidator struct {
|
type mockSchemaValidator struct {
|
||||||
definition.SchemaValidator
|
definition.SchemaValidator
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockRouter struct {
|
type mockRouter struct {
|
||||||
definition.Router
|
definition.Router
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockMiddleware struct {
|
type mockMiddleware struct {
|
||||||
definition.MiddlewareProvider
|
definition.MiddlewareProvider
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockStep struct {
|
type mockStep struct {
|
||||||
definition.Step
|
definition.Step
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockCache struct {
|
type mockCache struct {
|
||||||
definition.Cache
|
definition.Cache
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockSigner struct {
|
type mockSigner struct {
|
||||||
definition.Signer
|
definition.Signer
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockEncrypter struct {
|
type mockEncrypter struct {
|
||||||
definition.Encrypter
|
definition.Encrypter
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockDecrypter struct {
|
type mockDecrypter struct {
|
||||||
definition.Decrypter
|
definition.Decrypter
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockSignValidator struct {
|
type mockSignValidator struct {
|
||||||
definition.SignValidator
|
definition.SignValidator
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type mockKeyManager struct {
|
type mockKeyManager struct {
|
||||||
definition.KeyManager
|
definition.KeyManager
|
||||||
err error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mock providers
|
// Mock providers
|
||||||
|
|||||||
Reference in New Issue
Block a user