Make fields songCount, duration, created and changed mandatory in playlists responses (fixes #164)

This commit is contained in:
Deluan
2020-04-11 19:15:15 -04:00
parent 9fb4f5ef52
commit e476a5f6f1
5 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -246,8 +246,8 @@ var _ = Describe("Responses", func() {
Duration: 120,
Public: true,
Owner: "admin",
Created: &timestamp,
Changed: &timestamp,
Created: timestamp,
Changed: timestamp,
}
pls[1] = Playlist{Id: "222", Name: "bbb"}
response.Playlists.Playlist = pls