Skip to content

Commit 68ccf78

Browse files
authored
Revert "Consolidate IStorageSupplier (in common) (#1812)" (#1815)
This reverts commit 47dbbc0.
1 parent e687f8a commit 68ccf78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

common

Submodule common updated 29 files

msal/src/test/java/com/microsoft/identity/client/e2e/tests/mocked/CrossCloudGuestAccountTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public void setup() {
190190
@After
191191
public void cleanup() {
192192
super.cleanup();
193-
mComponents.getStorageSupplier().getFileStore(SHARED_PREFERENCES_NAME)
193+
mComponents.getEncryptedFileStore(SHARED_PREFERENCES_NAME, mComponents.getStorageEncryptionManager())
194194
.clear();
195195
}
196196

@@ -293,8 +293,8 @@ public void onError(@NonNull MsalException exception) {
293293
RoboTestUtils.flushScheduler();
294294

295295
// assert
296-
final IMultiTypeNameValueStorage sharedPreferences = mComponents.getStorageSupplier()
297-
.getFileStore(SHARED_PREFERENCES_NAME);
296+
final IMultiTypeNameValueStorage sharedPreferences = mComponents.getEncryptedFileStore(SHARED_PREFERENCES_NAME,
297+
mComponents.getStorageEncryptionManager());
298298
final Map<String, ?> cacheValues = sharedPreferences.getAll();
299299

300300
assertEquals("Verify number of Cache records (AT, RT, IdToken, AccountRecord) for non removed account",

0 commit comments

Comments
 (0)