Makes all tests pass green again

* Removed a concurrent write condition that was happening while fetching
  BD
* Updated the local test database to match bedetheque.com state
* Note field being highly dynamic removed test from it.
This commit is contained in:
2017-09-05 15:01:43 +02:00
parent 2f526632fe
commit b0eefe8de3
5 changed files with 87 additions and 63 deletions

View File

@@ -28,6 +28,8 @@ func (s *AlbumDescriptionGetterSuite) TestGet(c *C) {
if c.Check(s.g.Get(&aStripped), IsNil) == true {
//we skip the fetch date, for sure it will always expire
aStripped.FetchDate = a.FetchDate
//we skip the note as it is a dynamic value, and may change over time
aStripped.Note = a.Note
c.Check(aStripped, DeepEquals, a)
}
}