mirror of
https://github.com/hanzoui/registry-backend.git
synced 2026-10-30 20:30:45 +00:00
15 lines
232 B
Go
15 lines
232 B
Go
package gateways
|
|
|
|
import (
|
|
"github.com/stretchr/testify/mock"
|
|
)
|
|
|
|
type MockSlackService struct {
|
|
mock.Mock
|
|
}
|
|
|
|
func (m *MockSlackService) SendRegistryMessageToSlack(msg string) error {
|
|
args := m.Called(msg)
|
|
return args.Error(0)
|
|
}
|