Skip to content

Commit 1d37d5b

Browse files
committed
Release v6.0.0
1 parent 6ac44f7 commit 1d37d5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -652,21 +652,21 @@ private class SOQLCache_Test {
652652
// Test
653653
// First query to cache the record
654654
Account account1 = (Account) SOQLCache.of(Account.SObjectType)
655-
.with(Account.Id, Account.IsPartner)
655+
.with(Account.Id, Account.IsDeleted)
656656
.allowFilteringByNonUniqueFields()
657-
.whereEqual(Account.IsPartner, FALSE)
657+
.whereEqual(Account.IsDeleted, FALSE)
658658
.toObject();
659659

660660
// Second query to retrieve the cached record
661661
Account account2 = (Account) SOQLCache.of(Account.SObjectType)
662-
.with(Account.Id, Account.IsPartner)
662+
.with(Account.Id, Account.IsDeleted)
663663
.allowFilteringByNonUniqueFields()
664-
.whereEqual(Account.IsPartner, FALSE)
664+
.whereEqual(Account.IsDeleted, FALSE)
665665
.toObject();
666666

667667
// Verify
668-
Assert.areEqual(FALSE, account1.IsPartner, 'The cached account record should be FALSE.');
669-
Assert.areEqual(FALSE, account2.IsPartner, 'The cached account record should be FALSE.');
668+
Assert.areEqual(FALSE, account1.IsDeleted, 'The cached account record should be FALSE.');
669+
Assert.areEqual(FALSE, account2.IsDeleted, 'The cached account record should be FALSE.');
670670
Assert.areEqual(1, Limits.getQueries(), 'The number of queries should be 1.');
671671
}
672672

0 commit comments

Comments
 (0)