We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4676ef5 commit 73e179eCopy full SHA for 73e179e
ModuleConfig.cfc
@@ -166,8 +166,13 @@ component {
166
// Configure the debugging mode from the loaded app settings
167
wirebox.getInstance( "debuggerService@cbDebugger" ).setDebugMode( variables.settings.debugMode );
168
169
- // Only activate interceptions and collectors if master switch is on
170
- if ( variables.settings.enabled ) {
+ // Only activate interceptions and collectors if master switch is on or in test mode disable it
+ if (
171
+ variables.settings.enabled && !findNoCase(
172
+ "MockController",
173
+ getMetadata( controller ).name
174
+ )
175
+ ) {
176
/******************** REQUEST COLLECTOR ************************************/
177
178
controller
0 commit comments