https://kotlinlang.org logo
#spring
Title
# spring
i

Imran/Malic

01/28/2021, 5:06 PM
How can I override a specific Bean that is provided through the Application Context? Ideally without
MockBean
a

Arian Stolwijk

01/28/2021, 6:17 PM
Could maybe create the bean with
@Primary
👌🏽 1
i

Imran/Malic

01/28/2021, 6:38 PM
Thanks. Is it a good patern to override the the bean by using the Bean name?
7 Views