Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz.uzarek committed Sep 17, 2024
1 parent d02eff6 commit f758d11
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ class UserServiceSpec extends Specification {
def historyLogService = Mock(HistoryLogService)
def automaticVacationDayService = Mock(AutomaticVacationDayService)
def allUsersLeaderProvider = Mock(AllUsersLeaderProvider)
def userLeaderProvider = Mock(ActiveDirectoryUserLeaderProvider)

def userService = new UserService(userRepository, historyLogService, automaticVacationDayService, allUsersLeaderProvider)
def userService = new UserService(userRepository, historyLogService, automaticVacationDayService, allUsersLeaderProvider, userLeaderProvider)
def filter = Mock(Filter)

def "get() SHOULD return list of users"() {
Expand Down

0 comments on commit f758d11

Please sign in to comment.