From 54baf7fa7b07fa08a219eb8cc4b66ff7d0c13ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dorien=20Gr=C3=B6nwald?= Date: Fri, 31 Jan 2025 09:31:09 +0100 Subject: [PATCH] fix: update tests --- internal/service/domain/treecluster/treecluster_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/domain/treecluster/treecluster_test.go b/internal/service/domain/treecluster/treecluster_test.go index 362752f9..47c2f30a 100644 --- a/internal/service/domain/treecluster/treecluster_test.go +++ b/internal/service/domain/treecluster/treecluster_test.go @@ -27,7 +27,7 @@ func TestTreeClusterService_GetAll(t *testing.T) { svc := NewTreeClusterService(clusterRepo, treeRepo, regionRepo, globalEventManager) expectedClusters := testClusters - clusterRepo.EXPECT().GetAll(ctx, int32(1), int32(-1)).Return(expectedClusters, int64(len(expectedClusters)), nil) + clusterRepo.EXPECT().GetAll(ctx).Return(expectedClusters, int64(len(expectedClusters)), nil) // when clusters, totalCount, err := svc.GetAll(ctx)