Skip to content

Commit

Permalink
Update(tests/OwnerOnly): Environment variable with dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkubis committed Jan 6, 2025
1 parent 1f6e6f9 commit 2e22e22
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ public static void testArtifactOwnerOnlyAuthorization(ApicurioRegistry3 apicurio
// ENABLE ARTIFACT OWNER ONLY AUTHORIZATION AND TEST IT
// Set environment variable REGISTRY_AUTH_OBAC_ENABLED of deployment to true
ApicurioRegistryUtils.createOrReplaceEnvVar(apicurioRegistry, new Env() {{
setName("APICURIO_AUTH_OWNER_ONLY_AUTHORIZATION");
setName("APICURIO_AUTH_OWNER-ONLY-AUTHORIZATION");
setValue("true");
}});

// Define artifact ID for the owner part
testArtifactId = succeedId + "true-by-owner";
// Wait for API availability
Expand Down Expand Up @@ -124,7 +125,7 @@ public static void testArtifactOwnerOnlyAuthorization(ApicurioRegistry3 apicurio
// DISABLE ARTIFACT OWNER ONLY AUTHORIZATION AND TEST IT
// Set environment variable REGISTRY_AUTH_OBAC_ENABLED of deployment to false
ApicurioRegistryUtils.createOrReplaceEnvVar(apicurioRegistry, new Env() {{
setName("APICURIO_AUTH_OWNER_ONLY_AUTHORIZATION");
setName("APICURIO_AUTH_OWNER-ONLY-AUTHORIZATION");
setValue("false");
}});
// Define artifact ID for the owner part
Expand Down

0 comments on commit 2e22e22

Please sign in to comment.