Skip to content

Revert "Merge branch 'NXCALS-1245-fix-tests-for-security-annotated-controllers' into 'develop'"

Wiktor Jan Jurasz requested to merge revert-bb1cb0a3 into develop

#Merge request template @acc-logging-team - please have a look for approval.

Reason: @MockBean annotation which is used in SecurityTest class caused AppliationContext to be created multiple times (as many as tests using object with this annotation +1). As in ApplicationDev method startMiniKdc is annotated with @PostConstruct, multiple instances of local KDC were created during running tests, this resulted in errors as only single instance can exist at once.

Edited by Wiktor Jan Jurasz

Merge request reports

Loading