Skip to content

Commit 58ab763

Browse files
committed
Fix test
1 parent 1e2bb13 commit 58ab763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msal4j-sdk/src/test/java/com/microsoft/aad/msal4j/ManagedIdentityTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void managedIdentityTest_SuccessfulResponse_WithInvalidJson(ManagedIdentitySourc
236236

237237
MsalJsonParsingException miException = (MsalJsonParsingException) exception.getCause();
238238
assertEquals(source.name(), miException.managedIdentitySource());
239-
assertEquals(MANAGED_IDENTITY_RESPONSE_PARSE_FAILURE, miException.errorCode());
239+
assertEquals(MsalError.MANAGED_IDENTITY_RESPONSE_PARSE_FAILURE, miException.errorCode());
240240
}
241241
}
242242

@@ -494,7 +494,7 @@ void managedIdentity_RequestFailed_NoPayload(ManagedIdentitySourceType source, S
494494

495495
MsalServiceException miException = (MsalServiceException) exception.getCause();
496496
assertEquals(source.name(), miException.managedIdentitySource());
497-
assertEquals(MANAGED_IDENTITY_RESPONSE_PARSE_FAILURE, miException.errorCode());
497+
assertEquals(MsalError.MANAGED_IDENTITY_RESPONSE_PARSE_FAILURE, miException.errorCode());
498498
return;
499499
}
500500

0 commit comments

Comments
 (0)