Skip to content

Commit 53522d4

Browse files
committed
Fix validation
Signed-off-by: Piotr PG Gajek <[email protected]>
1 parent b15f407 commit 53522d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

force-app/main/default/classes/main/cached-soql/SOQLCache_Test.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ private class SOQLCache_Test {
573573
Assert.isFalse(((List<SOQLCache.CacheItem>) CacheManager.SOQLOrgCache.get('Profile')).isEmpty(), 'Cache item should be present.');
574574

575575
// Test
576-
SOQLCache.invalidateRecords(new List<Profile>{ profile });
576+
SOQLCache.refreshRecords(new List<Profile>{ profile });
577577

578578
// Verify
579579
Assert.isTrue(CacheManager.SOQLOrgCache.contains('Profile'), 'Key should still exist.');

0 commit comments

Comments
 (0)