Skip to content

Commit

Permalink
chore: 데이터 초기화
Browse files Browse the repository at this point in the history
  • Loading branch information
alsdl0629 committed May 23, 2024
1 parent f077013 commit 54a3056
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ class GuideRepositoryTest : DescribeSpec() {
private lateinit var teamRepository: TeamRepository

init {
this.afterTest {
guideElementJpaRepository.deleteAllInBatch()
guideJpaRepository.deleteAllInBatch()
serviceRepository.deleteAllInBatch()
teamRepository.deleteAllInBatch()
}

this.describe("getAllByTeamId") {
context("팀 아이디를 받으면") {
val savedTeam = teamRepository.save(createTeam())
Expand Down

0 comments on commit 54a3056

Please sign in to comment.