@@ -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