From 7fb963847440d16c891de6247d9572e1761a7915 Mon Sep 17 00:00:00 2001 From: Westin Musser <127992899+westin-m@users.noreply.github.com> Date: Tue, 25 Apr 2023 09:20:45 -0700 Subject: [PATCH] update test to reflect current users and change condition to avoid future updates (#2209) --- tests/IntegrationTests/TokenAcquirerTests/TokenAcquirer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/IntegrationTests/TokenAcquirerTests/TokenAcquirer.cs b/tests/IntegrationTests/TokenAcquirerTests/TokenAcquirer.cs index dccb4a57b..eaf85f419 100644 --- a/tests/IntegrationTests/TokenAcquirerTests/TokenAcquirer.cs +++ b/tests/IntegrationTests/TokenAcquirerTests/TokenAcquirer.cs @@ -240,7 +240,7 @@ private static async Task CreateGraphClientAndAssert(TokenAcquirerFactory tokenA .WithAuthenticationScheme(s_optionName) // .WithAuthenticationOptions(options => options.ProtocolScheme = "Pop") .GetAsync(); - Assert.Equal(53, users.Count); + Assert.True(users.Count >= 56); // Alternatively to calling Microsoft Graph, you can get a token acquirer service // and get a token, and use it in an SDK.