Well, only thing that I can suggest to improve then is to use Repatch.patch(NaiveDateTime, :utc_now, fn -> ~N[1990-01-01 00:00:00] end) without an agent. You can then overwrite this patch with [force: true] option in the third argument.
But to be honest, I’d have a O_O look on my face if saw a test code like this.


















