Skip to content

Commit

Permalink
updated rego tests
Browse files Browse the repository at this point in the history
  • Loading branch information
strantalis committed Nov 14, 2024
1 parent 252474c commit a6a80f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/rego/custom-entity.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions test/rego/static-entitlements.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a6a80f9

Please sign in to comment.