Make sure mock implementations implements their full interface

This commit is contained in:
Deluan
2020-01-11 21:52:39 -05:00
parent cb107f77f8
commit dd5945ad86
4 changed files with 12 additions and 2 deletions
+2
View File
@@ -48,3 +48,5 @@ func (m *MockArtist) Get(id string) (*domain.Artist, error) {
}
return nil, domain.ErrNotFound
}
var _ domain.ArtistRepository = (*MockArtist)(nil)