Skip to content

Commit f5fb8fc

Browse files
committed
ensure mock context even when loadColdbox=false
1 parent 0e0c6e0 commit f5fb8fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

system/testing/BaseTestCase.cfc

+3-2
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ component extends="testbox.system.compat.framework.TestCase" accessors="true" {
144144

145145
structDelete( request, "_lastInvalidEvent" );
146146

147-
// make sure all references to the request context are using the MockContext
148-
getRequestContext();
149147
}
148+
149+
// make sure all references to the request context are using the MockContext
150+
getRequestContext();
150151
}
151152

152153
/**

0 commit comments

Comments
 (0)