interactions yay!!
This commit is contained in:
parent
b9a05bedf9
commit
f60033a3e4
30 changed files with 716 additions and 44 deletions
17
discord/member_mock.go
Normal file
17
discord/member_mock.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package discord
|
||||
|
||||
import "github.com/stretchr/testify/mock"
|
||||
|
||||
type MemberMock struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
func (m *MemberMock) GetRoles() error {
|
||||
args := m.Called()
|
||||
return args.Error(0)
|
||||
}
|
||||
|
||||
func (m *MemberMock) PatchRoles() error {
|
||||
args := m.Called()
|
||||
return args.Error(0)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue