From 43afc28f5aaba86c4b2b13004857cfe209d444da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rold=C3=A1n=20Betancort?= Date: Mon, 14 Oct 2024 16:46:23 +0100 Subject: [PATCH] fix CI errors on recent merge --- internal/services/integrationtesting/benchmark_test.go | 8 ++++---- .../services/integrationtesting/testconfigs/caveatlr.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/services/integrationtesting/benchmark_test.go b/internal/services/integrationtesting/benchmark_test.go index ce93f64a41..ed78628b5c 100644 --- a/internal/services/integrationtesting/benchmark_test.go +++ b/internal/services/integrationtesting/benchmark_test.go @@ -45,7 +45,7 @@ func BenchmarkServices(b *testing.B) { Namespace: "example/user", ObjectId: "tom", Relation: tuple.Ellipsis, - }, revision, nil, 0) + }, revision, nil, 0, nil) require.GreaterOrEqual(b, len(results), 0) return err }, @@ -61,7 +61,7 @@ func BenchmarkServices(b *testing.B) { Namespace: "srrr/user", ObjectId: "someguy", Relation: tuple.Ellipsis, - }, revision, nil, 0) + }, revision, nil, 0, nil) require.GreaterOrEqual(b, len(results), 0) return err }, @@ -77,7 +77,7 @@ func BenchmarkServices(b *testing.B) { Namespace: "user", ObjectId: "tom", Relation: tuple.Ellipsis, - }, revision, nil, 0) + }, revision, nil, 0, nil) require.GreaterOrEqual(b, len(results), 0) return err }, @@ -93,7 +93,7 @@ func BenchmarkServices(b *testing.B) { Namespace: "user", ObjectId: "tom", Relation: tuple.Ellipsis, - }, revision, nil, 0) + }, revision, nil, 0, nil) require.Equal(b, len(results), 499) return err }, diff --git a/internal/services/integrationtesting/testconfigs/caveatlr.yaml b/internal/services/integrationtesting/testconfigs/caveatlr.yaml index f34e283aa6..786a247930 100644 --- a/internal/services/integrationtesting/testconfigs/caveatlr.yaml +++ b/internal/services/integrationtesting/testconfigs/caveatlr.yaml @@ -7,7 +7,7 @@ schema: |+ definition user {} definition container { - relation access: user with unexpired + relation access: user with unexpired permission accesses = access }