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
442
442
{
443
443
public boolean isInsertCalled = false ;
444
444
public boolean isUpdateCalled = false ;
445
+ public boolean isUpsertCalled = false ;
445
446
public boolean isDeleteCalled = false ;
446
447
public boolean isPublishCalled = false ;
447
448
public Boolean isEmptyRecycleBinCalled = false ;
@@ -452,6 +453,9 @@ private class fflib_ApplicationTest
452
453
public void dmlUpdate (List <SObject > objList ){
453
454
this .isUpdateCalled = true ;
454
455
}
456
+ public void dmlUpsert (List <SObject > objList , Schema.SObjectField externalId ){
457
+ this .isUpsertCalled = true ;
458
+ }
455
459
public void dmlDelete (List <SObject > objList ){
456
460
this .isDeleteCalled = true ;
457
461
}
You can’t perform that action at this time.
0 commit comments