diff --git a/pom.xml b/pom.xml
index 0c9afb1..f2afd53 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
com.wiemanboy
WiemanApi
- 1.1.2
+ 1.1.3
WiemanApi
WiemanApi
diff --git a/src/main/java/com/wiemanboy/wiemanapi/config/SecurityConfig.java b/src/main/java/com/wiemanboy/wiemanapi/config/SecurityConfig.java
index 6a0eac2..ad27bc5 100644
--- a/src/main/java/com/wiemanboy/wiemanapi/config/SecurityConfig.java
+++ b/src/main/java/com/wiemanboy/wiemanapi/config/SecurityConfig.java
@@ -2,6 +2,7 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
@@ -10,7 +11,7 @@
import org.springframework.security.oauth2.jwt.*;
import org.springframework.security.web.SecurityFilterChain;
-
+@Configuration
@EnableWebSecurity
public class SecurityConfig {
diff --git a/src/test/java/com/wiemanboy/wiemanapi/WiemanApiApplicationTests.java b/src/test/java/com/wiemanboy/wiemanapi/WiemanApiApplicationTests.java
index 39c1474..d08f554 100644
--- a/src/test/java/com/wiemanboy/wiemanapi/WiemanApiApplicationTests.java
+++ b/src/test/java/com/wiemanboy/wiemanapi/WiemanApiApplicationTests.java
@@ -1,10 +1,10 @@
package com.wiemanboy.wiemanapi;
-import com.wiemanboy.wiemanapi.config.TestSecurityConfig;
+import com.wiemanboy.wiemanapi.config.SecurityConfig;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
-@SpringBootTest(classes = {TestSecurityConfig.class, WiemanApiApplication.class})
+@SpringBootTest(classes = {SecurityConfig.class, WiemanApiApplication.class})
class WiemanApiApplicationTests {
@Test
diff --git a/src/test/java/com/wiemanboy/wiemanapi/config/TestSecurityConfig.java b/src/test/java/com/wiemanboy/wiemanapi/config/SecurityConfig.java
similarity index 84%
rename from src/test/java/com/wiemanboy/wiemanapi/config/TestSecurityConfig.java
rename to src/test/java/com/wiemanboy/wiemanapi/config/SecurityConfig.java
index ae03b9f..11173ef 100644
--- a/src/test/java/com/wiemanboy/wiemanapi/config/TestSecurityConfig.java
+++ b/src/test/java/com/wiemanboy/wiemanapi/config/SecurityConfig.java
@@ -1,13 +1,13 @@
package com.wiemanboy.wiemanapi.config;
-import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
import org.springframework.security.web.SecurityFilterChain;
-@TestConfiguration
-public class TestSecurityConfig {
+@Configuration
+public class SecurityConfig {
@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
return http.authorizeHttpRequests(
diff --git a/src/test/java/com/wiemanboy/wiemanapi/presentation/ProfileControllerTest.java b/src/test/java/com/wiemanboy/wiemanapi/presentation/ProfileControllerTest.java
index 6eccb4c..77e8477 100644
--- a/src/test/java/com/wiemanboy/wiemanapi/presentation/ProfileControllerTest.java
+++ b/src/test/java/com/wiemanboy/wiemanapi/presentation/ProfileControllerTest.java
@@ -2,7 +2,7 @@
import com.wiemanboy.wiemanapi.WiemanApiApplication;
import com.wiemanboy.wiemanapi.builders.ProfileBuilder;
-import com.wiemanboy.wiemanapi.config.TestSecurityConfig;
+import com.wiemanboy.wiemanapi.config.SecurityConfig;
import com.wiemanboy.wiemanapi.data.ProfileRepository;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -19,7 +19,7 @@
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
-@SpringBootTest(classes = {TestSecurityConfig.class, WiemanApiApplication.class})
+@SpringBootTest(classes = {SecurityConfig.class, WiemanApiApplication.class})
@AutoConfigureMockMvc
public class ProfileControllerTest {