From a6a80f96181475fbddef400014c48024d3b8bcc1 Mon Sep 17 00:00:00 2001 From: Sean Trantalis Date: Thu, 14 Nov 2024 15:30:10 -0500 Subject: [PATCH] updated rego tests --- test/rego/custom-entity.bats | 4 ++-- test/rego/static-entitlements.bats | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/rego/custom-entity.bats b/test/rego/custom-entity.bats index 4a3506151..0b16ab700 100755 --- a/test/rego/custom-entity.bats +++ b/test/rego/custom-entity.bats @@ -46,9 +46,9 @@ EOF echo "Using Access Token: $ACCESS_TOKEN" # Print the grpcurl command for debugging - echo grpcurl -plaintext -H \"Authorization: Bearer $ACCESS_TOKEN\" -d \"$JSON_BODY\" $BASE_URL authorization.AuthorizationService/GetEntitlements + echo grpcurl -H \"Authorization: Bearer $ACCESS_TOKEN\" -d \"$JSON_BODY\" $BASE_URL authorization.AuthorizationService/GetEntitlements - run grpcurl -plaintext -H "Authorization: Bearer $ACCESS_TOKEN" \ + run grpcurl -H "Authorization: Bearer $ACCESS_TOKEN" \ -d "$JSON_BODY" \ $BASE_URL authorization.AuthorizationService/GetEntitlements diff --git a/test/rego/static-entitlements.bats b/test/rego/static-entitlements.bats index 96042d000..cbb80a028 100755 --- a/test/rego/static-entitlements.bats +++ b/test/rego/static-entitlements.bats @@ -46,9 +46,9 @@ EOF echo "Using Access Token: $ACCESS_TOKEN" # Print the grpcurl command for debugging - echo grpcurl -plaintext -H \"Authorization: Bearer $ACCESS_TOKEN\" -d \"$JSON_BODY\" $BASE_URL authorization.AuthorizationService/GetEntitlements + echo grpcurl -H \"Authorization: Bearer $ACCESS_TOKEN\" -d \"$JSON_BODY\" $BASE_URL authorization.AuthorizationService/GetEntitlements - run grpcurl -plaintext -H "Authorization: Bearer $ACCESS_TOKEN" \ + run grpcurl -H "Authorization: Bearer $ACCESS_TOKEN" \ -d "$JSON_BODY" \ $BASE_URL authorization.AuthorizationService/GetEntitlements