Skip to content

Commit

Permalink
CPCCM-6836 - make BaseTrigger.triggerNameToInfoMap global so that pac…
Browse files Browse the repository at this point in the history
…kages build upon it can access it in tests. (#25)
  • Loading branch information
jayce1996 authored and pcon committed Aug 14, 2019
1 parent 4702b20 commit be097d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/BaseTrigger.cls
Expand Up @@ -9,7 +9,7 @@ global with sharing abstract class BaseTrigger {
public class NoBulkException extends Exception {}

/** The map of trigger names to their info class */
@TestVisible static private Map<String, TriggerInfo> triggerNameToInfoMap = new Map<String, TriggerInfo>();
@TestVisible static global Map<String, TriggerInfo> triggerNameToInfoMap = new Map<String, TriggerInfo>();

/** Class to keep track of trigger run information */
@TestVisible
Expand Down

0 comments on commit be097d3

Please sign in to comment.