Skip to content

Commit

Permalink
MATE-85 : [FIX] deploy test 시도
Browse files Browse the repository at this point in the history
  • Loading branch information
juchan204 committed Dec 4, 2024
1 parent d3a68c9 commit 7809f58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
8 changes: 7 additions & 1 deletion src/test/java/com/example/mate/MateApplicationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.test.context.SpringBootTest;

@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)
class MateApplicationTests {

Expand Down
13 changes: 0 additions & 13 deletions src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,3 @@ spring:
console:
enabled: true
path: /h2-console

oauth:
naver:
client-id: ${NAVER_CLIENT_ID}
redirect-uri: ${NAVER_REDIRECT_URI}
client-secret: ${NAVER_CLIENT_SECRET}

jwt:
secret_key: ${JWT_SECRET_KEY}

openweather:
api:
key: ${OPENWEATHER_API_KEY}

0 comments on commit 7809f58

Please sign in to comment.