Adds tests for AlbumDatabase
This commit is contained in:
@@ -26,6 +26,7 @@ func (s *AlbumDescriptionGetterSuite) TestGet(c *C) {
|
||||
for _, a := range albumsDataTest {
|
||||
aStripped := StripNonCsvField(a)
|
||||
if c.Check(s.g.Get(&aStripped), IsNil) == true {
|
||||
//we skip the fetch date, for sure it will always expire
|
||||
aStripped.FetchDate = a.FetchDate
|
||||
c.Check(aStripped, DeepEquals, a)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user