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.
2 parents a7c6bad + b133215 commit bcad2f8Copy full SHA for bcad2f8
main/default/classes/RelatedList_Test.cls
@@ -17,7 +17,7 @@ public with sharing class RelatedList_Test {
17
User testUser = [Select id from user where id = :UserInfo.getUserId()];
18
Test.startTest();
19
System.runAs(testUser){
20
- RelatedList.countRecords('Select count() FROM Contact LIMIT 1');
+ RelatedList.countRecords('Contact');
21
RelatedList.countRecords(null);
22
}
23
Test.stopTest();
0 commit comments