Skip to content

Commit

Permalink
Merge pull request #585 from SFDO-Community/oct_2024_unit_test_fix
Browse files Browse the repository at this point in the history
removed field check in test
  • Loading branch information
rdblake21 authored Nov 12, 2024
2 parents e1b7dcb + a7b3cdc commit bbec919
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,8 @@ public with sharing class SummitEventsTestSharedDataFactory {
List <String> fieldsCreatable = new List <String>();
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());
}
}

Expand Down

0 comments on commit bbec919

Please sign in to comment.