Skip to content

Commit

Permalink
test: 테스트 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Dompoo committed Aug 22, 2024
1 parent 59af537 commit 467634f
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 @@ -25,8 +25,8 @@ class WaterDetailProvider {
}

private fun makeDetailSpringSummerFallDescription(plant: Plant): String {
val waterDescription = "${plant.springSummerFallWater.description}해주세요."
val perWeekDescription = "일주일에 ${plant.springSummerFallWater.waterPerWeek}번 정도가 적당해요."
val waterDescription = "${plant.summerWater.description}해주세요."
val perWeekDescription = "일주일에 ${plant.summerWater.waterPerWeek}번 정도가 적당해요."
return "$waterDescription $perWeekDescription"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,8 @@ class MyPlantServiceTest : DescribeSpec(
"",
Water.MOIST,
Water.MOIST,
Water.MOIST,
Water.MOIST,
100,
100,
Light.MEDIUM,
Expand Down

0 comments on commit 467634f

Please sign in to comment.