Skip to content

Commit 6e2f493

Browse files
committed
test: test 디렉토리 내 resource 디렉토리를 이용하도록 변경
1 parent 234e1d0 commit 6e2f493

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/sopt/makers/global/util/EnvUtilTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
@DisplayName("EnvUtil 테스트")
2323
class EnvUtilTest {
2424

25-
private static final String ENV_FILE_PATH = "src/main/resources/.env";
25+
private static final String ENV_FILE_PATH = "src/test/resources/.env";
2626

2727
@BeforeAll
2828
static void setUp() throws IOException {
2929
String content = """
3030
SLACK_WEBHOOK_CREW_DEV_BE=https://hooks.slack.com/services/crew/dev/be
3131
SLACK_WEBHOOK_APP_PROD_FE=https://hooks.slack.com/services/app/prod/fe
3232
""";
33-
Files.createDirectories(Paths.get("src/main/resources"));
33+
Files.createDirectories(Paths.get("src/test/resources"));
3434
Files.write(Paths.get(ENV_FILE_PATH), content.getBytes());
3535
}
3636

0 commit comments

Comments
 (0)