i don't know if it's fully intentional that a persistent login hash can be deleted while the session is still valid, but anyways, here it goes :-)
by changing the mock time, we can show that a persisted session should be cleared if LastAccesed + session lifetime < now
(or should not be cleared, if the persistent session without a hash is meant to stay => not what i did here, but i can revert that part if needed)
i don't know if it's fully intentional that a persistent login hash can be deleted while the session is still valid, but anyways, here it goes :-)
by changing the mock time, we can show that a persisted session should be cleared if LastAccesed + session lifetime < now (or should not be cleared, if the persistent session without a hash is meant to stay => not what i did here, but i can revert that part if needed)
fixes https://github.com/silverstripe/silverstripe-session-manager/issues/154