mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-14 18:44:51 +00:00
Avoid using Title::__construct
Change-Id: Ic78da7e9f417ee64288537e008068949edb1fbac
This commit is contained in:
parent
d595a4f478
commit
3d2441cfef
|
@ -93,10 +93,10 @@ class ApiFlowThankIntegrationTest extends ApiTestCase {
|
|||
$mockWorkflow = $this->createMock( Workflow::class );
|
||||
$mockWorkflow->expects( $this->any() )
|
||||
->method( 'getOwnerTitle' )
|
||||
->will( $this->returnValue( new Title() ) );
|
||||
->willReturn( $this->createMock( Title::class ) );
|
||||
$mockWorkflow->expects( $this->any() )
|
||||
->method( 'getArticleTitle' )
|
||||
->will( $this->returnValue( new Title() ) );
|
||||
->willReturn( $this->createMock( Title::class ) );
|
||||
|
||||
$mockStorage = $this->getMockBuilder( '\Flow\Data\ManagerGroup' )
|
||||
->disableOriginalConstructor()
|
||||
|
|
Loading…
Reference in a new issue