Revert "fix(backend): Bypass security configs in spring test"

This reverts commit c88156115b.
This commit is contained in:
2025-11-16 09:19:02 +01:00
parent e1b4bbe759
commit 0044f410df
3 changed files with 0 additions and 37 deletions

View File

@@ -3,7 +3,6 @@ package com.betriebsratkanzlei.legalconsenthub.config
import com.betriebsratkanzlei.legalconsenthub.security.CustomJwtAuthenticationConverter
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Profile
import org.springframework.core.annotation.Order
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity
import org.springframework.security.config.annotation.web.builders.HttpSecurity
@@ -14,7 +13,6 @@ import org.springframework.security.web.SecurityFilterChain
@Configuration
@EnableWebSecurity
@EnableMethodSecurity
@Profile("!test")
class SecurityConfig {
@Bean
@Order(1)