Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorien Grönwald committed Jan 31, 2025
1 parent 4001262 commit 54baf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/domain/treecluster/treecluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 54baf7f

Please sign in to comment.