ifs-web-service/ifs-application-commons/src/test/java/org/innovateuk/ifs/async/controller/endtoend/EndToEndAsyncControllerIntegrationTest.java
/**
     * Cleanup ThreadLocals that we would expect to have set on the main Thread prior to the Controller being called
     */
Cleanup ThreadLocals that we would expect to have set on the main Thread prior to the Controller being called
Cleanup ThreadLocals that we would expect to have set on the main Thread prior to the Controller being called
@After
    public void cleanupNewWorkerThreadLocals() {
        setLoggedInUser(null);
        RequestContextHolder.setRequestAttributes(null);
        AsyncAllowedThreadLocal.clearAsyncAllowed();
    }
@ After public void cleanupNewWorkerThreadLocals ( ) { setLoggedInUser ( null ) ; RequestContextHolder . setRequestAttributes ( null ) ; AsyncAllowedThreadLocal . clearAsyncAllowed ( ) ; }
Cleanup ThreadLocals that we would expect to have set on the main Thread prior to the Controller being called
Cleanup ThreadLocals that we would expect to have set on the main Thread prior to the Controller being called