We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba49df commit 4b738baCopy full SHA for 4b738ba
sdk/identity/azure-identity/src/test/java/com/azure/identity/ManagedIdentityCredentialTest.java
@@ -157,7 +157,7 @@ public void testCloudshellUserAssigned() {
157
ManagedIdentityCredential credential
158
= new ManagedIdentityCredentialBuilder().configuration(configuration).objectId(OBJECT_ID).build();
159
StepVerifier.create(credential.getToken(request))
160
- .expectErrorMatches(t -> t instanceof CredentialUnavailableException)
+ .expectErrorMatches(t -> t instanceof ClientAuthenticationException)
161
.verify();
162
}
163
0 commit comments