Just skimmed the PR, I'm sure the author knows more than I - but why hard code a date at all? Why not do something like `today + 1 year`?
That introduces dependency of a clock which might be undesirable, just had a similar problem where i also went for hardcoding for that reason.
Because it should be `today + 1 year + randomInt(1,42) days`.
Always include some randomness in test values.
That introduces dependency of a clock which might be undesirable, just had a similar problem where i also went for hardcoding for that reason.