Skip to content

Commit

Permalink
update Tests with answerMapper
Browse files Browse the repository at this point in the history
Signed-off-by: Timotheus Pokorra <[email protected]>
  • Loading branch information
tpokorra committed Aug 18, 2023
1 parent 7449027 commit b8974c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Unit/Service/FormsServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function setUp(): void {
$this->questionMapper = $this->createMock(QuestionMapper::class);
$this->shareMapper = $this->createMock(ShareMapper::class);
$this->submissionMapper = $this->createMock(SubmissionMapper::class);
$this->answerMapper = $this->createMock(AnswerMapper::class);
$this->configService = $this->createMock(ConfigService::class);

$this->groupManager = $this->createMock(IGroupManager::class);
Expand All @@ -121,6 +122,7 @@ public function setUp(): void {
$this->questionMapper,
$this->shareMapper,
$this->submissionMapper,
$this->answerMapper,
$this->configService,
$this->groupManager,
$this->logger,
Expand Down Expand Up @@ -606,6 +608,7 @@ public function testGetPermissions_NotLoggedIn() {
$this->questionMapper,
$this->shareMapper,
$this->submissionMapper,
$this->answerMapper,
$this->configService,
$this->groupManager,
$this->logger,
Expand Down Expand Up @@ -800,6 +803,7 @@ public function testPublicCanSubmit() {
$this->questionMapper,
$this->shareMapper,
$this->submissionMapper,
$this->answerMapper,
$this->configService,
$this->groupManager,
$this->logger,
Expand Down Expand Up @@ -976,6 +980,7 @@ public function testHasUserAccess_NotLoggedIn() {
$this->questionMapper,
$this->shareMapper,
$this->submissionMapper,
$this->answerMapper,
$this->configService,
$this->groupManager,
$this->logger,
Expand Down

0 comments on commit b8974c8

Please sign in to comment.