From 4115f56daf6dff80c408459f889222437a317f8d Mon Sep 17 00:00:00 2001 From: Reede Stockton Date: Wed, 30 Mar 2022 10:45:04 -0700 Subject: [PATCH] Correct missing namespace in trigger test code. --- dlrs/main/classes/RollupController.cls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlrs/main/classes/RollupController.cls b/dlrs/main/classes/RollupController.cls index 95a08338..ac78250c 100644 --- a/dlrs/main/classes/RollupController.cls +++ b/dlrs/main/classes/RollupController.cls @@ -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 ' +