Remove unnecessary repositories methods

This commit is contained in:
Deluan
2021-07-16 17:39:00 -04:00
committed by Deluan Quintão
parent 5e54925520
commit 1d8607ef6a
9 changed files with 23 additions and 64 deletions
-9
View File
@@ -62,15 +62,6 @@ var _ = Describe("AlbumRepository", func() {
})
})
Describe("FindByArtist", func() {
It("returns all records from a given ArtistID", func() {
Expect(repo.FindByArtist("3")).To(Equal(model.Albums{
albumSgtPeppers,
albumAbbeyRoad,
}))
})
})
Describe("getMinYear", func() {
It("returns 0 when there's no valid year", func() {
Expect(getMinYear("a b c")).To(Equal(0))