Skip to content

Commit

Permalink
feat: 환경변수 읽어오도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GitJIHO committed Oct 20, 2024
1 parent 70d416b commit 71cbdf4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
package com.example.sinitto;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;

import static org.hibernate.validator.internal.util.Contracts.assertNotNull;

@SpringBootTest
class SinittoApplicationTests {

@Value("${jwt.secret}")
private String jwtSecret;

@Test
void contextLoads() {
assertNotNull(jwtSecret);
}

}

0 comments on commit 71cbdf4

Please sign in to comment.