Skip to content

Commit

Permalink
test(batch) : test 프로파일 실행되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-spear committed Jul 21, 2024
1 parent 166d0ef commit e5f45ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.example.estdelivery
import org.springframework.batch.test.context.SpringBatchTest
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.testcontainers.service.connection.ServiceConnection
import org.springframework.test.context.ActiveProfiles
import org.springframework.test.context.DynamicPropertyRegistry
import org.springframework.test.context.DynamicPropertySource
import org.testcontainers.containers.MySQLContainer
Expand All @@ -17,6 +18,7 @@ import org.testcontainers.utility.DockerImageName
@SpringBatchTest
@SpringBootTest
@Testcontainers
@ActiveProfiles("test")
class SpringBootInitializer {
companion object {
@Container
Expand Down

0 comments on commit e5f45ef

Please sign in to comment.