Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/issue-221
Browse files Browse the repository at this point in the history
  • Loading branch information
ClayChipps committed Apr 4, 2024
2 parents 8e8af54 + fb866b2 commit 6ab9b1c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,10 @@ private with sharing class fflib_SObjectUnitOfWorkTest
public void dmlInsert(List<SObject> objList)
{
for (SObject obj : objList) {
obj.Id = fflib_IDGenerator.generate(obj?.getSObjectType());
if (obj == null) {
continue;
}
obj.Id = fflib_IDGenerator.generate(obj.getSObjectType());
}
this.recordsForInsert.addAll(objList);
}
Expand Down

0 comments on commit 6ab9b1c

Please sign in to comment.