diff --git a/tests/Unit/Db/VoteMapperTest.php b/tests/Unit/Db/VoteMapperTest.php index 68aeab37b..62807cb89 100644 --- a/tests/Unit/Db/VoteMapperTest.php +++ b/tests/Unit/Db/VoteMapperTest.php @@ -68,7 +68,7 @@ protected function setUp(): void { $this->userMapper = new UserMapper($this->con, $this->session, $this->userSession, $this->userManager, $this->logger); $this->pollMapper = new PollMapper($this->con); - $this->voteMapper = new VoteMapper($this->con, $this->userMapper); + $this->voteMapper = new VoteMapper($this->con, $this->userMapper, $this->logger); $this->optionMapper = new OptionMapper($this->con, $this->session, $this->userMapper); $this->polls = [