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 authored and asmecher committed Aug 12, 2024
1 parent 85a3ce3 commit fb72f7c
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 fb72f7c

Please sign in to comment.