Skip to content

Commit

Permalink
Fix wrong realm context in PolarisAuthzTestBase (apache#467)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Maynard <[email protected]>
  • Loading branch information
adutra and eric-maynard authored Nov 22, 2024
1 parent 16eea96 commit 3c5d20e
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,7 @@ public void before() {
this.entityManager = new PolarisEntityManager(metaStoreManager, new StorageCredentialCache());
this.metaStoreManager = metaStoreManager;

callContext =
CallContext.of(
new RealmContext() {
@Override
public String getRealmIdentifier() {
return "test-realm";
}
},
polarisContext);
callContext = CallContext.of(realmContext, polarisContext);
CallContext.setCurrentContext(callContext);

PrincipalEntity rootEntity =
Expand Down

0 comments on commit 3c5d20e

Please sign in to comment.