File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
sfdx-source/apex-common/test/classes Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -442,6 +442,7 @@ private class fflib_ApplicationTest
442442 {
443443 public boolean isInsertCalled = false ;
444444 public boolean isUpdateCalled = false ;
445+ public boolean isUpsertCalled = false ;
445446 public boolean isDeleteCalled = false ;
446447 public boolean isPublishCalled = false ;
447448 public Boolean isEmptyRecycleBinCalled = false ;
@@ -452,6 +453,9 @@ private class fflib_ApplicationTest
452453 public void dmlUpdate (List <SObject > objList ){
453454 this .isUpdateCalled = true ;
454455 }
456+ public void dmlUpsert (List <SObject > objList , Schema.SObjectField externalId ){
457+ this .isUpsertCalled = true ;
458+ }
455459 public void dmlDelete (List <SObject > objList ){
456460 this .isDeleteCalled = true ;
457461 }
You can’t perform that action at this time.
0 commit comments