Skip to content

Commit

Permalink
Merge pull request #1177 from SFDO-Community/feature/integrate-npsp-tdtm
Browse files Browse the repository at this point in the history
Correct missing namespace in trigger test code
  • Loading branch information
Szandor72 authored Mar 30, 2022
2 parents 5994a85 + 9ae1ade commit 4a677cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dlrs/main/classes/RollupController.cls
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ public with sharing class RollupController {
: (' // Force the ' +
RollupTriggerName +
' to be invoked, fails the test if org config or other Apex code prevents this.\n' +
' RollupService.disableNpspTdtm();\n' +
' ' +
(namespace.length() > 0 ? namespace + '.' : '') +
'RollupService.disableNpspTdtm();\n' +
' ' +
(namespace.length() > 0 ? namespace + '.' : '') +
'RollupService.testHandler(new ' +
Expand Down

0 comments on commit 4a677cc

Please sign in to comment.