How to mangle system time for testing
Hello, i am testing a module for a web application and i need to test the expiration of sessions. The problem is that i can not modify the expiration time and i not want to make sleep the test for the full length of expiration time (a hour). So, the natural solution appears to be mangling the s
Re: How to mangle system time for testing
Test::MockTime works fine and with it i finished my test. Thanks for the advice, Adrian