test: add forced source refresh and manifest cache integration tests

This commit is contained in:
2026-07-05 23:08:50 +02:00
parent 7278676a2e
commit 7d59674649
2 changed files with 31 additions and 5 deletions

View File

@@ -10,7 +10,8 @@ import (
)
type rewritePlaybackService struct {
targets []string
targets []string
targetURL string
}
func (s *rewritePlaybackService) BuildWatchData(context.Context, int, []string, string, string, string) (domain.WatchPageData, error) {
@@ -31,7 +32,7 @@ func (s *rewritePlaybackService) SignProxyToken(targetURL, _ string, _ string) (
}
func (s *rewritePlaybackService) ResolveProxyToken(string, string) (string, string, error) {
return "", "", nil
return s.targetURL, "", nil
}
func (s *rewritePlaybackService) UpsertSkipSegmentOverride(context.Context, string, int64, int, string, float64, float64) error {