Skip to content

How to limit visibility of a @Factory in test #10129

Answered by graemerocher
nedelva asked this question in Q&A
Discussion options

You must be logged in to vote

This is what @MockBean(ValidationStrategyNoOp.class) is for. It isolates the bean to only the test

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nedelva
Comment options

Answer selected by nedelva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants