Skip to content

Commit

Permalink
pkp/pkp-lib#9899 fixed PHPUnit deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Sep 27, 2024
1 parent 99b5589 commit 0e52de8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/jobs/doi/DepositIssueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ public function testRunSerializedJob(): void
/** @var \PKP\context\Context $contextMock */
$contextMock = Mockery::mock(get_class(Application::getContextDAO()->newDataObject()))
->makePartial()
->shouldReceive('getData')
->shouldReceive([
'getData' => '',
'getLocalizedData' => '',
])
->getMock();

$depositIssueMock = new DepositIssue(
Expand Down

0 comments on commit 0e52de8

Please sign in to comment.