Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjk4618 committed Jan 24, 2025
1 parent ef2a571 commit 8284566
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 25 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ subprojects {

implementation 'org.springframework.boot:spring-boot-starter-validation'

//cache
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.1'


//Test
testImplementation 'org.springframework.boot:spring-boot-starter-test:3.2.1'
Expand Down
3 changes: 0 additions & 3 deletions cakey-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.1.0' //feign
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' //oauth2

//cache
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.1'
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@
import static org.assertj.core.api.Assertions.assertThatThrownBy;


@SpringBootTest(classes = TestConfiguration.class, properties = {
"spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration"
@SpringBootTest(classes = TestConfiguration.class)
@TestPropertySource(properties = {
"jwt.secret=testasdfasdfasddfsecretfdadfsdfasdfasdfasdfasdf",
"jwt.accessTokenExpirationTime=3600",
"jwt.refreshTokenExpirationTime=604800"
})
//@TestPropertySource(properties = {
// "jwt.secret=testasdfasdfasddfsecretfdadfsdfasdfasdfasdfasdf",
// "jwt.accessTokenExpirationTime=3600",
// "jwt.refreshTokenExpirationTime=604800"
//})
@ActiveProfiles("test") // ํ…Œ์ŠคํŠธ ์ „์šฉ ํ”„๋กœํŒŒ์ผ ํ™œ์„ฑํ™”
@ComponentScan(basePackages = "com.cakey.jwt.auth")
@ComponentScan(basePackages = "com.cakey")
class JwtGeneratorTest {

@Autowired
Expand Down
13 changes: 0 additions & 13 deletions cakey-auth/src/test/resources/application-test.yml

This file was deleted.

0 comments on commit 8284566

Please sign in to comment.