Skip to content

Commit

Permalink
test: application 테스트내 빈 등록 범위 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed Jan 30, 2024
1 parent c6e37a6 commit e67b0fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ import com.petqua.test.fixture.product
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.matchers.shouldBe
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment.NONE

@SpringBootTest
@SpringBootTest(webEnvironment = NONE)
class CartProductServiceTest(
private val cartProductService: CartProductService,
private val cartProductRepository: CartProductRepository,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ import com.petqua.test.fixture.store
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.matchers.shouldBe
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment

@SpringBootTest
@SpringBootTest(webEnvironment = WebEnvironment.NONE)
class ProductServiceTest(
private val productService: ProductService,
private val productRepository: ProductRepository,
Expand Down

0 comments on commit e67b0fc

Please sign in to comment.