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 {