Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tests/Microsoft.Identity.Web.Test/CacheEncryptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ public async Task EncryptionTestAsync(bool isEncrypted)
_testCacheAdapter.Initialize(tokenCache);

// Act
await tokenCache._beforeAccess(args);
#pragma warning disable xUnit1030 // Do not call ConfigureAwait(false) in XUnit test method, trying temporarily to see if it fixes the test
await tokenCache._beforeAccess(args).ConfigureAwait(false);
tokenCache.cache = cache;
await tokenCache._afterAccess(args);
await tokenCache._afterAccess(args).ConfigureAwait(false);
#pragma warning restore xUnit1030 // Do not call ConfigureAwait(false) in test method

// Assert
Assert.NotNull(_testCacheAdapter._memoryCache);
Expand Down
Loading