Skip to content

Commit 2a73771

Browse files
authored
load mixins from modules so the rest of the test harness can listen
1 parent 83566dd commit 2a73771

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test-harness/config/Coldbox.cfc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@
8282
moduleName = request.MODULE_NAME,
8383
invocationPath = "moduleroot"
8484
);
85+
86+
// Reload the renderer in case we have module helpers
87+
controller.getRenderer().startup()
88+
// Reload all interceptors with new mixins if available.
89+
controller.getInterceptorService().announce( "cbLoadInterceptorHelpers" )
8590
}
8691

8792
}

0 commit comments

Comments
 (0)