Commit Graph

2 Commits

Author SHA1 Message Date
kencx
3305b7e0bb Add test for locking behaviour 2022-06-07 10:24:44 +08:00
kenc
465bc037c2 Add lock tests (#209)
* Add lock tests

* Refactor setLock to accept key value pairs

This allows SetCron and Lock to use the same function setLockValue. It
also removes the need to call getLock explicitly in tests by returning
the lock object.
2022-06-06 12:59:47 +02:00