We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b15f407 commit 53522d4Copy full SHA for 53522d4
force-app/main/default/classes/main/cached-soql/SOQLCache_Test.cls
@@ -573,7 +573,7 @@ private class SOQLCache_Test {
573
Assert.isFalse(((List<SOQLCache.CacheItem>) CacheManager.SOQLOrgCache.get('Profile')).isEmpty(), 'Cache item should be present.');
574
575
// Test
576
- SOQLCache.invalidateRecords(new List<Profile>{ profile });
+ SOQLCache.refreshRecords(new List<Profile>{ profile });
577
578
// Verify
579
Assert.isTrue(CacheManager.SOQLOrgCache.contains('Profile'), 'Key should still exist.');
0 commit comments