mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
tests: Avoid calling Title::__construct
Change-Id: Icfe39e0835b4779bf538c2aea9a15cacbdcd6ff5
This commit is contained in:
parent
a933412ea5
commit
1be7adf0a8
|
@ -1487,11 +1487,9 @@ TEXT
|
|||
}
|
||||
|
||||
public function getExemplarTimestamp() {
|
||||
$title = $this->getMockBuilder( Title::class )
|
||||
->getMock();
|
||||
$title = $this->createMock( Title::class );
|
||||
|
||||
$user = $this->getMockBuilder( User::class )
|
||||
->getMock();
|
||||
$user = $this->createMock( User::class );
|
||||
|
||||
$options = ParserOptions::newFromAnon();
|
||||
|
||||
|
|
Loading…
Reference in a new issue