From c73e2ea18a475a55b5b6d98158ebad6b8180ac35 Mon Sep 17 00:00:00 2001 From: jooinjoo <jooinjoo0@gmail.com> Date: Fri, 6 Dec 2024 19:13:00 +0900 Subject: [PATCH] =?UTF-8?q?MATE-90=20:=20[CHORE]=20deploy.yml=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/com/example/mate/MateApplicationTests.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/example/mate/MateApplicationTests.java b/src/test/java/com/example/mate/MateApplicationTests.java index 23e46a64..e163b1b5 100644 --- a/src/test/java/com/example/mate/MateApplicationTests.java +++ b/src/test/java/com/example/mate/MateApplicationTests.java @@ -6,7 +6,13 @@ import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; -@SpringBootTest +@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) @ActiveProfiles("test") class MateApplicationTests {