Skip to content

Commit

Permalink
chore :: test util tnwjd
Browse files Browse the repository at this point in the history
  • Loading branch information
esperar committed Aug 8, 2024
1 parent 3f2a964 commit b5aa18e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ class ValidDayOfWeekAndHourTest : BehaviorSpec({
private fun validDayOfWeekAndHourUtil(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int, profile: String): ValidDayOfWeekAndHourUtil {
val testDate = LocalDateTime.of(year, month, day, hour, minute, second)
val selfStudyProperties = mockk<SelfStudyProperties>()
val environment = mockk<Environment>()

every { environment.activeProfiles } returns arrayOf(profile)

Expand All @@ -151,5 +150,5 @@ private fun validDayOfWeekAndHourUtil(year: Int, month: Int, day: Int, hour: Int

every { LocalDateTime.now() } returns testDate

return ValidDayOfWeekAndHourUtil(selfStudyProperties, environment)
return ValidDayOfWeekAndHourUtil(selfStudyProperties)
}

0 comments on commit b5aa18e

Please sign in to comment.