forked from phoedos/pmd
Unit test bug
This commit is contained in:

committed by
Juan Martín Sotuyo Dodero

parent
15336017ef
commit
7e83147a61
@@ -461,7 +461,7 @@ public class Foo {
|
||||
if (Contact.sObjectType.getDescribe().isAccessible()) {
|
||||
List<Contact> contacts = [SELECT Id FROM Contact];
|
||||
if (Contact.sObjectType.getDescribe().isDeletable()) {
|
||||
delete toDelete;
|
||||
delete contacts;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user