Revert "fix(backend): Bypass security configs in spring test"
This reverts commit c88156115b.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user