diff --git a/internal/handlers/dashboard_test.go b/internal/handlers/dashboard_test.go index 41b47bf..65b6e69 100644 --- a/internal/handlers/dashboard_test.go +++ b/internal/handlers/dashboard_test.go @@ -175,7 +175,7 @@ func TestGetViewAllURL_SystemCollections(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - result := getViewAllURL(tt.collectionName, tt.queryType) + result := getViewAllURL(tt.collectionName) assert.Equal(t, tt.expected, result, "getViewAllURL mismatch") }) } diff --git a/internal/services/dashboard_service_test.go b/internal/services/dashboard_service_test.go index a0254f3..163340a 100644 --- a/internal/services/dashboard_service_test.go +++ b/internal/services/dashboard_service_test.go @@ -54,7 +54,7 @@ func TestDashboardService_FilterHiddenCollections(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - result := service.filterHiddenCollections(sections, tt.hidden) + result := service.FilterHiddenCollections(sections, tt.hidden) assert.Equal(t, tt.expectedCount, len(result), "expected %d sections", tt.expectedCount)