Skip to content
  1. May 07, 2023
  2. May 06, 2023
  3. May 05, 2023
  4. May 04, 2023
  5. May 03, 2023
    • Juraj Paluba's avatar
      core-tests: fix missing bean in tests · 6b94cd7d
      Juraj Paluba authored and Juraj Paluba's avatar Juraj Paluba committed
      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.
      6b94cd7d