diff --git a/pkg/storegateway/bucket_stores_test.go b/pkg/storegateway/bucket_stores_test.go index 015e14f55e..1d24b3ffb6 100644 --- a/pkg/storegateway/bucket_stores_test.go +++ b/pkg/storegateway/bucket_stores_test.go @@ -410,7 +410,7 @@ func TestBucketStores_syncUsersBlocks(t *testing.T) { "when sharding is enabled only stores for filtered users should be created": { shardingStrategy: func() ShardingStrategy { s := &mockShardingStrategy{} - s.On("FilterUsers", mock.Anything, allUsers, true).Return([]string{"user-1", "user-2"}) + s.On("FilterUsers", mock.Anything, allUsers).Return([]string{"user-1", "user-2"}) return s }(), expectedStores: 2,