No need to expose implementations
This commit is contained in:
@@ -13,7 +13,7 @@ func CreateMockArtistIndexRepo() *MockArtistIndex {
|
||||
}
|
||||
|
||||
type MockArtistIndex struct {
|
||||
repositories.ArtistIndexImpl
|
||||
repositories.ArtistIndex
|
||||
data []models.ArtistIndex
|
||||
err bool
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ func CreateMockPropertyRepo() *MockProperty {
|
||||
}
|
||||
|
||||
type MockProperty struct {
|
||||
repositories.PropertyImpl
|
||||
repositories.Property
|
||||
data map[string]string
|
||||
err bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user