BDD
Global Callbacks
beforeAll()
component{
function beforeAll(){
ORMSessionClear();
structClear( request );
// Prepare jwt driver to use cache instead of db for easier mocking
variables.jwt.getSettings().jwt.tokenStorage.driver = "cachebox";
variables.jwt.getSettings().jwt.tokenStorage.properties = { cacheName : "default" };
// Logout just in case
variables.securityService.logout();
}
}afterAll()
run( testResults, testBox )
Suite Callbacks
beforeEach( body, data )
afterEach( body, data )
aroundEach( body, data )
Life-Cycle Data Binding
Last updated
Was this helpful?