Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce number of test contexts by lifting time service up #934

Open
orange-buffalo opened this issue Sep 22, 2023 · 0 comments
Open

Reduce number of test contexts by lifting time service up #934

orange-buffalo opened this issue Sep 22, 2023 · 0 comments

Comments

@orange-buffalo
Copy link
Owner

We have many tests that are declaring TimeService mock bean (and sometimes other mocks). This causes multiple test contexts to be created and slows down the tests.

Lift the TimeService up as a spy bean, similarly to PasswordEncoder. Check other mocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant