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