Skip to content

Commit

Permalink
COLDBOX-1294 #resolve
Browse files Browse the repository at this point in the history
Call `reset()` when testing and unloadColdbox is true in the `afterTests()` to make sure the reset procedures are done, not only the shutdown.
  • Loading branch information
lmajano committed Sep 23, 2024
1 parent abb1f48 commit 58d7f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/testing/BaseTestCase.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ component extends="testbox.system.compat.framework.TestCase" accessors="true" {
*/
function afterTests(){
if ( this.unLoadColdbox ) {
getColdBoxVirtualApp().shutdown();
reset();
}
}

Expand Down

0 comments on commit 58d7f97

Please sign in to comment.