-
-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
enhancementNew feature or requestNew feature or requestpriority: normalvalidThis issue/PR is validated and ready to be picked. This auto adds items to TJ project board.This issue/PR is validated and ready to be picked. This auto adds items to TJ project board.
Milestone
Description
Overview
The /remind
command should be covered by unit tests.
This requires clock mocking though, which we should introduce with this as well.
Hints
Fortunately, Java is well equipped for clock mocking. Its just that it requires a change on all time usages in the whole code base. Like, instead of Instant.now()
, you would write Instant.now(clock)
. And then you need to provide a clock at an accessible place that you can mock (similar to Config
for example).
marko-radosavljevic
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority: normalvalidThis issue/PR is validated and ready to be picked. This auto adds items to TJ project board.This issue/PR is validated and ready to be picked. This auto adds items to TJ project board.