Browse Source
This commit adds an assertion to DefaultTestContext's getApplicationContext() method to ensure that a context loaded by the Spring TestContext Framework (TCF) or retrieved from the ContextCache is still active. This extra check helps to avoid situations where developers manually close a cached context instead of relying on the @DirtiesContext support. Issue: SPR-12932pull/783/head
Sam Brannen
10 years ago
1 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue