Skip to content

Commit 589f106

Browse files
author
Kai Song
committed
fix a UT issue
1 parent 5a86f34 commit 589f106

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

IdentityCore/src/cache/token/MSIDAccountCacheItem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ - (NSDictionary *)jsonDictionary
175175
dictionary[MSID_AUTHORITY_TYPE_CACHE_KEY] = [MSIDAccountTypeHelpers accountTypeAsString:_accountType];
176176
dictionary[MSID_HOME_ACCOUNT_ID_CACHE_KEY] = _homeAccountId;
177177
dictionary[MSID_LOCAL_ACCOUNT_ID_CACHE_KEY] = _localAccountId;
178-
dictionary[MSID_USERNAME_CACHE_KEY] = nil;
178+
dictionary[MSID_USERNAME_CACHE_KEY] = _username;
179179
dictionary[MSID_GIVEN_NAME_CACHE_KEY] = _givenName;
180180
dictionary[MSID_MIDDLE_NAME_CACHE_KEY] = _middleName;
181181
dictionary[MSID_FAMILY_NAME_CACHE_KEY] = _familyName;

IdentityCore/src/controllers/broker/MSIDXpcSilentTokenRequestController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ + (BOOL)canPerformRequest
5555

5656

5757
@end
58-

0 commit comments

Comments
 (0)