summaryrefslogtreecommitdiff
path: root/player-server/internal/api/handlers_podcast_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'player-server/internal/api/handlers_podcast_test.go')
-rw-r--r--player-server/internal/api/handlers_podcast_test.go22
1 files changed, 12 insertions, 10 deletions
diff --git a/player-server/internal/api/handlers_podcast_test.go b/player-server/internal/api/handlers_podcast_test.go
index 73e76e2..3dae97b 100644
--- a/player-server/internal/api/handlers_podcast_test.go
+++ b/player-server/internal/api/handlers_podcast_test.go
@@ -57,16 +57,18 @@ func newPodcastTestServer(t *testing.T, store repository.Store, hasher auth.Hash
SessionManager: sm,
Config: cfg,
Services: ServerServices{
- Browse: browseSvc,
- Write: writeSvc,
- Share: shareSvc,
- Tag: tagSvc,
- Favorite: favSvc,
- Note: noteSvc,
- Admin: adminSvc,
- Progress: progressSvc,
- Auth: authSvc,
- Podcast: podcastSvc,
+ Media: MediaServices{
+ Browse: browseSvc,
+ Write: writeSvc,
+ Share: shareSvc,
+ Tag: tagSvc,
+ Favorite: favSvc,
+ Note: noteSvc,
+ Progress: progressSvc,
+ },
+ Admin: adminSvc,
+ Auth: authSvc,
+ Podcast: podcastSvc,
},
StaticFS: fs,
MediaStreamer: service.NewMediaStreamer(nil, ""),