From 1533e73384b10fde079415dd69bfe759927d6a83 Mon Sep 17 00:00:00 2001 From: hongjeZZ Date: Fri, 6 Dec 2024 20:09:50 +0900 Subject: [PATCH] =?UTF-8?q?MATE-90=20:=20[CHORE]=20MateApplicationTests=20?= =?UTF-8?q?=ED=81=B4=EB=9E=98=EC=8A=A4=20=EC=96=B4=EB=85=B8=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EC=85=98=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/mate/MateApplicationTests.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/test/java/com/example/mate/MateApplicationTests.java b/src/test/java/com/example/mate/MateApplicationTests.java index e163b1b5..bc8b1306 100644 --- a/src/test/java/com/example/mate/MateApplicationTests.java +++ b/src/test/java/com/example/mate/MateApplicationTests.java @@ -1,19 +1,10 @@ package com.example.mate; -import com.example.mate.domain.auth.config.OAuthConfig; import org.junit.jupiter.api.Test; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; -@SpringBootTest(properties = { - "jwt.secret_key=testsecretkey12345678901234567890", - "oauth.naver.client-id=test_client_id", - "oauth.naver.redirect-uri=http://localhost:8080/callback", - "oauth.naver.client-secret=test_client_secret", - "openweather.api.key=test_api_key" -}) -@EnableConfigurationProperties(OAuthConfig.class) +@SpringBootTest @ActiveProfiles("test") class MateApplicationTests {