diff options
author | Azul <azul@riseup.net> | 2017-11-03 14:33:51 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2017-11-03 14:33:51 +0100 |
commit | ec996134a1f23ee36aff9d3ad2c800af71623207 (patch) | |
tree | 5b722078b32061dd662f1ae1db625812ab0d9c8e /test/unit/dispatcher_test.rb | |
parent | 61ebd2908da912ee269dbeb71b5bddc2b50efbb2 (diff) |
fix: no expiration date means not outdated
We were using Time.at(expirationdate) even if it was nil which
led to using the Time.at(0). Instead an unset expirationdate
is meant to not expire the key at all.
Our tests did not catch this because the assertions were in
blocks that did not get run at all. (at least in the HKP
integration test).
Diffstat (limited to 'test/unit/dispatcher_test.rb')
0 files changed, 0 insertions, 0 deletions