From 4dfa465631425045371f7fdb9dad81256c27f0fc Mon Sep 17 00:00:00 2001 From: Peter Ombwa Date: Wed, 5 May 2021 17:13:00 -0700 Subject: [PATCH] Update authentication unit tests. --- .../Authentication.Test/Helpers/AuthenticationHelpersTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Authentication/Authentication.Test/Helpers/AuthenticationHelpersTests.cs b/src/Authentication/Authentication.Test/Helpers/AuthenticationHelpersTests.cs index 0befe11953a..bfef1e97556 100644 --- a/src/Authentication/Authentication.Test/Helpers/AuthenticationHelpersTests.cs +++ b/src/Authentication/Authentication.Test/Helpers/AuthenticationHelpersTests.cs @@ -111,7 +111,7 @@ public void ShouldUseInteractiveProviderWhenDelegated() } [Fact] - public void ShouldUseDeviceCodeProviderWhenDelegatedContextAndClientIdIsProvided() + public void ShouldUseInteractiveAuthenticationProviderWhenDelegatedContextAndClientIdIsProvided() { // Arrange AuthContext delegatedAuthContext = new AuthContext @@ -126,7 +126,7 @@ public void ShouldUseDeviceCodeProviderWhenDelegatedContextAndClientIdIsProvided IAuthenticationProvider authProvider = AuthenticationHelpers.GetAuthProvider(delegatedAuthContext); // Assert - Assert.IsType(authProvider); + Assert.IsType(authProvider); // reset static instance. GraphSession.Reset();