Skip to content

Commit

Permalink
#1159 Fixed unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
j3nsch committed Nov 21, 2023
1 parent 55eb0c9 commit 2d153ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/library/Application/Document/DuplicateFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

use Opus\Common\Document;
use Opus\Common\Model\NotFoundException;
use Symfony\Component\Console\Output\NullOutput;

/**
* TODO create fixture helper class to create N test documents and get their IDs
Expand Down Expand Up @@ -59,6 +60,8 @@ public function setUp(): void
parent::setUp();

$this->helper = new Application_Document_DuplicateFinder();
$this->helper->setOutput(new NullOutput());
$this->helper->setRemoveEnabled(true);

$this->setupTestDocuments();
}
Expand Down

0 comments on commit 2d153ff

Please sign in to comment.