Skip to content

Commit

Permalink
pkp/pkp-lib#9892 fixing broken unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Aug 12, 2024
1 parent 2d7214f commit e5ccaa2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/classes/monograph/SubmissionFileDAOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ protected function setUp(): void
->onlyMethods(['getById'])
->getMock();
DAORegistry::registerDAO('GenreDAO', $genreDao);
$genreDao->expects($this->any())
->method('getById')
->willReturnCallback([$this, 'getTestGenre']);

$this->_cleanFiles();

Expand Down

0 comments on commit e5ccaa2

Please sign in to comment.