Skip to content

Commit

Permalink
Repair unit test. Return array for getSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
froemken committed May 10, 2022
1 parent 2a973fa commit 2fd79d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/Unit/EventListener/AddGlossaryEventListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public function setUp(): void
$this->eventProphecy
->getActionName()
->willReturn('list');
$this->eventProphecy
->getSettings()
->willReturn([]);

$this->subject = new AddGlossaryEventListener(
$this->glossaryServiceProphecy->reveal(),
Expand Down

0 comments on commit 2fd79d7

Please sign in to comment.