Skip to content

Commit

Permalink
fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JJBussert committed Nov 23, 2021
1 parent 62ca1f3 commit ece0dd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void TokenForAAD_DisabledUser_Unauthorized()
Action a = () => client.TokenForAAD(TestDisabledUserName, TestPassword.Secure());

a.Should().Throw<AggregateException>().WithInnerException<MsalUiRequiredException>()
.WithMessage("AADSTS50126: *").And
.WithMessage("AADSTS50057: *").And
.ErrorCode.Should().Be("invalid_grant");
}
[Test]
Expand Down

0 comments on commit ece0dd7

Please sign in to comment.