Skip to content

Commit

Permalink
Fix merge issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaytak committed Nov 5, 2021
1 parent 264537d commit 86abd07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -663,11 +663,6 @@ public void GetAccessAndRefreshTokenUserAssertionMismatchInCacheTest()
_homeAccountId,
oboCacheKey: assertion);

// create key out of access token cache item and then
// set it as the value of the access token.
string atKey = atItem.GetKey().ToString();
atItem.Secret = atKey;
atItem.OboCacheKey = harness.ServiceBundle.PlatformProxy.CryptographyManager.CreateBase64UrlEncodedSha256Hash(atKey);
cache.Accessor.SaveAccessToken(atItem);

var rtItem = new MsalRefreshTokenCacheItem(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private static IConfidentialClientApplication CreatePcaFromFileWithAuthority(
var cca = ccaBuilder.BuildConcrete();
cca.InitializeTokenCacheFromFile(ResourceHelper.GetTestResourceRelativePath(tokenCacheFile), true);
cca.UserTokenCacheInternal.Accessor.AssertItemCount(2, 2, 3, 3, 1);

return cca;
}
}
Expand Down

0 comments on commit 86abd07

Please sign in to comment.