From 5cfb6ca0e923ddf942f189c9f3a6e93c86fed405 Mon Sep 17 00:00:00 2001 From: Stefan Benz <46600784+stebenz@users.noreply.github.com> Date: Wed, 10 Mar 2021 18:02:23 +0100 Subject: [PATCH] fix: unit test for operator (#1405) --- .../kinds/iam/zitadel/ambassador/grpc/adapt_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/operator/zitadel/kinds/iam/zitadel/ambassador/grpc/adapt_test.go b/operator/zitadel/kinds/iam/zitadel/ambassador/grpc/adapt_test.go index 2c66b066b..90db16a31 100644 --- a/operator/zitadel/kinds/iam/zitadel/ambassador/grpc/adapt_test.go +++ b/operator/zitadel/kinds/iam/zitadel/ambassador/grpc/adapt_test.go @@ -80,7 +80,7 @@ func TestGrpc_Adapt(t *testing.T) { "spec": map[string]interface{}{ "connect_timeout_ms": 30000, "host": ".", - "prefix": "/caos.zitadel.admin.api.v1.AdminService/", + "prefix": "/zitadel.admin.v1.AdminService/", "rewrite": "", "service": url, "timeout_ms": 30000, @@ -105,7 +105,7 @@ func TestGrpc_Adapt(t *testing.T) { "spec": map[string]interface{}{ "connect_timeout_ms": 30000, "host": ".", - "prefix": "/caos.zitadel.auth.api.v1.AuthService/", + "prefix": "/zitadel.auth.v1.AuthService/", "rewrite": "", "service": url, "timeout_ms": 30000, @@ -130,7 +130,7 @@ func TestGrpc_Adapt(t *testing.T) { "spec": map[string]interface{}{ "connect_timeout_ms": 30000, "host": ".", - "prefix": "/caos.zitadel.management.api.v1.ManagementService/", + "prefix": "/zitadel.management.v1.ManagementService/", "rewrite": "", "service": url, "timeout_ms": 30000, @@ -197,7 +197,7 @@ func TestGrpc_Adapt2(t *testing.T) { "spec": map[string]interface{}{ "connect_timeout_ms": 30000, "host": "api.domain", - "prefix": "/caos.zitadel.admin.api.v1.AdminService/", + "prefix": "/zitadel.admin.v1.AdminService/", "rewrite": "", "service": url, "timeout_ms": 30000, @@ -222,7 +222,7 @@ func TestGrpc_Adapt2(t *testing.T) { "spec": map[string]interface{}{ "connect_timeout_ms": 30000, "host": "api.domain", - "prefix": "/caos.zitadel.auth.api.v1.AuthService/", + "prefix": "/zitadel.auth.v1.AuthService/", "rewrite": "", "service": url, "timeout_ms": 30000, @@ -247,7 +247,7 @@ func TestGrpc_Adapt2(t *testing.T) { "spec": map[string]interface{}{ "connect_timeout_ms": 30000, "host": "api.domain", - "prefix": "/caos.zitadel.management.api.v1.ManagementService/", + "prefix": "/zitadel.management.v1.ManagementService/", "rewrite": "", "service": url, "timeout_ms": 30000,