Block a user
direct-unit-tests
This is an exact duplicate line, what does that do? Should use times(2) to be more obvious.
direct-unit-tests
Missing assertion to test something. Probably expect a log message and a mock with times(0).
direct-unit-tests
It should probably not duplicate most of the test code with TestProcessConfiguredRepositoryAction but instead mock the function both share. This issue happens also in other tests in this file.
direct-unit-tests
This is never stopped. It might work for now because it is the last test to touch some of the globals. Should add a channel to signal canceling the infinite loop.
direct-unit-tests
These should be subtests, preferably even different functions. Same problem multiple time in this file.
direct-unit-tests
Can be merged after fixing test failures. Will push a commit for that. Inline comments can be done later.