1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: tests [ci skip]

This commit is contained in:
Ferdinand Mütsch
2021-02-12 23:10:25 +01:00
parent 301cab4be4
commit ef17d06763
2 changed files with 292 additions and 285 deletions

View File

@ -24,6 +24,11 @@ func (m *UserServiceMock) GetAll() ([]*models.User, error) {
return args.Get(0).([]*models.User), args.Error(1)
}
func (m *UserServiceMock) GetActive() ([]*models.User, error) {
args := m.Called()
return args.Get(0).([]*models.User), args.Error(1)
}
func (m *UserServiceMock) Count() (int64, error) {
args := m.Called()
return int64(args.Int(0)), args.Error(1)