🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add extension to snapshots files (make it easier to format them for visualization)
Deluan814db3f0330b
diff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses AlbumList without data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Child with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Directory without data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses EmptyResponse should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Genres without data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Indexes without data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses License should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses MusicFolders without data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses Playlists without data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User with data should match .XMLdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match JSON b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match .JSONsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match JSONrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match .JSONdiff --git a/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match XML b/api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match .XMLsimilarity index 100%rename from api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match XMLrename to api/responses/.snapshots/responses-snapshotMatcher-Match-Responses User without data should match .XMLdiff --git a/api/responses/responses_test.go b/api/responses/responses_test.goindex 230999210..af17701f7 100644--- a/api/responses/responses_test.go+++ b/api/responses/responses_test.go@@ -22,10 +22,10 @@ var _ = Describe("Responses", func() {})Describe("EmptyResponse", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -34,10 +34,10 @@ var _ = Describe("Responses", func() {BeforeEach(func() {response.License = &License{Valid: true}})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -48,10 +48,10 @@ var _ = Describe("Responses", func() {})Context("without data", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -64,10 +64,10 @@ var _ = Describe("Responses", func() {response.MusicFolders.Folders = folders})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -79,10 +79,10 @@ var _ = Describe("Responses", func() {})Context("without data", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -96,10 +96,10 @@ var _ = Describe("Responses", func() {response.Indexes.Index = index})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -120,10 +120,10 @@ var _ = Describe("Responses", func() {response.Directory.Child = child})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -135,10 +135,10 @@ var _ = Describe("Responses", func() {})Context("without data", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -150,10 +150,10 @@ var _ = Describe("Responses", func() {response.Directory.Child = child})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -165,10 +165,10 @@ var _ = Describe("Responses", func() {})Context("without data", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -180,10 +180,10 @@ var _ = Describe("Responses", func() {response.AlbumList.Album = child})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -195,10 +195,10 @@ var _ = Describe("Responses", func() {})Context("without data", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -209,10 +209,10 @@ var _ = Describe("Responses", func() {response.User.Folder = []int{1}})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -224,10 +224,10 @@ var _ = Describe("Responses", func() {})Context("without data", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -240,10 +240,10 @@ var _ = Describe("Responses", func() {response.Playlists.Playlist = pls})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -255,10 +255,10 @@ var _ = Describe("Responses", func() {})Context("without data", func() {- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})@@ -272,10 +272,10 @@ var _ = Describe("Responses", func() {response.Genres.Genre = genres})- It("should match XML", func() {+ It("should match .XML", func() {Expect(xml.Marshal(response)).To(MatchSnapshot())})- It("should match JSON", func() {+ It("should match .JSON", func() {Expect(json.Marshal(response)).To(MatchSnapshot())})})