From 4ab94de529b39940f1ddfc285d0522c1220db661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Sun, 14 Sep 2025 22:05:25 +0200 Subject: [PATCH] resolve test failing --- tests/mocks/state_history_mock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mocks/state_history_mock.go b/tests/mocks/state_history_mock.go index 5f029cd..98af25f 100644 --- a/tests/mocks/state_history_mock.go +++ b/tests/mocks/state_history_mock.go @@ -360,7 +360,7 @@ func (m *MockStateHistoryRepository) GetRecentSessions(ctx context.Context, filt if maxPlayers > 0 { duration := int(maxDate.Sub(minDate).Minutes()) recentSessions = append(recentSessions, model.RecentSession{ - ID: uint(count + 1), + ID: entries[0].SessionID, Date: minDate.Format("2006-01-02 15:04:05"), Type: entries[0].Session, Track: entries[0].Track,