From adecf1fd2e55a0605d03f36952846f6336506d37 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 30 Apr 2026 10:45:30 +0300 Subject: Rename module to codeberg.org/snonux/play (task aa) - Update go.mod module path - Replace all internal imports from github.com/paul/kiss-media-player to codeberg.org/snonux/play - Run go mod tidy and gofmt -w . --- internal/service/progress_test.go | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'internal/service/progress_test.go') diff --git a/internal/service/progress_test.go b/internal/service/progress_test.go index 4baf03f..718da31 100644 --- a/internal/service/progress_test.go +++ b/internal/service/progress_test.go @@ -5,28 +5,28 @@ import ( "errors" "testing" - "github.com/paul/kiss-media-player/internal/model" - "github.com/paul/kiss-media-player/internal/repository" + "codeberg.org/snonux/play/internal/model" + "codeberg.org/snonux/play/internal/repository" ) func TestProgressService_UpdateProgress(t *testing.T) { ctx := context.Background() tests := []struct { - name string - sessionID string - userID int64 - mediaID int64 - position float64 - accLastPosition float64 - accAccumulated float64 - accCounted bool - accErr error + name string + sessionID string + userID int64 + mediaID int64 + position float64 + accLastPosition float64 + accAccumulated float64 + accCounted bool + accErr error upsertProgressErr error - upsertAccErr error - incrementErr error - wantErr bool - wantCounted bool + upsertAccErr error + incrementErr error + wantErr bool + wantCounted bool }{ { name: "fresh accumulator does not reach 60 due to clamp", -- cgit v1.2.3