Skip to content
Commit 6b94cd7d authored by Juraj Paluba's avatar Juraj Paluba Committed by Juraj Paluba
Browse files

core-tests: fix missing bean in tests

Had to add spring security test dependency as well as WithMockUser
annotation (for rest controllers --> performing requests with given
user) and MockedBeand for client registration.

It is not the optimal solution, but honestly the only one I was able to
produce. The main problem is the securityFilterChain in App class
besides main(). Because the App class is executed during each test.
parent 22ea71fb
Pipeline #229601 passed with stages
in 1 minute and 29 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment