Skip to content

Commit

Permalink
test: 테스트용으로는 value null값으로 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
GitJIHO committed Nov 8, 2024
1 parent f5208fc commit d91bac8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
@Service
public class SlackMessageService {

@Value("${slack.webhook.url}")
@Value("${slack.webhook.url:#{null}}}")
private String slackWebhookUrl;

@Value("${slack.charge.request.url}")
@Value("${slack.charge.request.url:#{null}}}")
private String chargeRequestUrl;

@Value("${slack.withdraw.request.url}")
@Value("${slack.withdraw.request.url:#{null}}}")
private String withdrawRequestUrl;

private final RestTemplate restTemplate;
Expand Down
9 changes: 0 additions & 9 deletions src/main/resources/application-test.yml

This file was deleted.

0 comments on commit d91bac8

Please sign in to comment.