tests: Avoid calling Title::__construct

Change-Id: Icfe39e0835b4779bf538c2aea9a15cacbdcd6ff5
This commit is contained in:
Daimona Eaytoy 2020-03-13 14:34:48 +00:00 committed by Umherirrender
parent a933412ea5
commit 1be7adf0a8

View file

@ -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();