Test::MockTime works fine and with it i finished my test.
Thanks for the advice, Adrian
On 28 Dec 2005, at 16:36, Javier Amor Garcia wrote:
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)
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