Unit test bug

This commit is contained in:
Sergey
2017-01-13 14:06:27 -08:00
committed by Juan Martín Sotuyo Dodero
parent 15336017ef
commit 7e83147a61

View File

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