Skip to content

Commit

Permalink
more boxlang updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Oct 17, 2024
1 parent 540658a commit ca4da25
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion system/testing/BaseTestCase.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,12 @@ component extends="testbox.system.compat.framework.TestCase" accessors="true" {
}
// remove context + reset headers
variables.controller.getRequestService().removeContext();
getPageContextResponse().reset();

// Reset the buffer if not committed
if( !getPageContextResponse().isCommitted() ){
getPageContextResponse().reset();
}

structDelete( request, "_lastInvalidEvent" );
}
}
Expand Down

0 comments on commit ca4da25

Please sign in to comment.