From a7b3cdc6a671a3c1738cb96a73e4264937b1b49c Mon Sep 17 00:00:00 2001 From: Thaddaeus Dahlberg <16785863+tcdahlberg@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:27:14 -0600 Subject: [PATCH] removed field check in test --- .../default/classes/SummitEventsTestSharedDataFactory.cls | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/force-app/test/default/classes/SummitEventsTestSharedDataFactory.cls b/force-app/test/default/classes/SummitEventsTestSharedDataFactory.cls index 56cf2c8a..0e0bde21 100644 --- a/force-app/test/default/classes/SummitEventsTestSharedDataFactory.cls +++ b/force-app/test/default/classes/SummitEventsTestSharedDataFactory.cls @@ -225,10 +225,8 @@ public with sharing class SummitEventsTestSharedDataFactory { List fieldsCreatable = new List (); for (Schema.SObjectField sField : fieldMap.values()) { Schema.DescribeFieldResult dField = sField.getDescribe(); - if (dField.isAccessible() && dField.isCreateable()) { - if (String.valueOf(dField.getType()).equalsIgnoreCase('textarea')) { - fieldsCreatable.add(dField.getName()); - } + if (String.valueOf(dField.getType()).equalsIgnoreCase('textarea')) { + fieldsCreatable.add(dField.getName()); } }