Skip to content

Commit e8d34ef

Browse files
authored
Update Identity live test (#6516)
* Update Identity live test * Clang-format --------- Co-authored-by: Anton Kolesnyk <[email protected]>
1 parent 170660f commit e8d34ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sdk/identity/azure-identity/test/ut/azure_pipelines_credential_test.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,10 @@ TEST(AzurePipelinesCredential, InvalidClientId_LIVEONLY_)
712712
catch (AuthenticationException const& ex)
713713
{
714714
EXPECT_TRUE(std::string(ex.what()).find("400 Bad Request") != std::string::npos) << ex.what();
715-
EXPECT_TRUE(std::string(ex.what()).find("AADSTS700016") != std::string::npos) << ex.what();
715+
EXPECT_TRUE(
716+
std::string(ex.what()).find("AADSTS700016") != std::string::npos
717+
|| std::string(ex.what()).find("AADSTS53003") != std::string::npos)
718+
<< ex.what();
716719
}
717720
}
718721

0 commit comments

Comments
 (0)