Add userRating to Subsonic API's Artist

This commit is contained in:
Deluan
2020-10-21 15:51:12 -04:00
parent 69e1059705
commit 078a7c24e6
8 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ var _ = Describe("Responses", func() {
BeforeEach(func() {
artists := make([]Artist, 1)
t := time.Date(2016, 03, 2, 20, 30, 0, 0, time.UTC)
artists[0] = Artist{Id: "111", Name: "aaa", Starred: &t}
artists[0] = Artist{Id: "111", Name: "aaa", Starred: &t, UserRating: 3, AlbumCount: 2}
index := make([]Index, 1)
index[0] = Index{Name: "A", Artists: artists}
response.Indexes.Index = index