mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-27 17:01:07 +00:00
Use EntityId::getSerialization() instead of serialize()
Bug: T345856 Change-Id: I3684677bff3587a1d5199a33752d46146b9e2e3e
This commit is contained in:
parent
2ff000bd64
commit
6712685a9b
|
@ -121,7 +121,7 @@ class MathWikibaseConnectorTestFactory extends MediaWikiUnitTestCase {
|
|||
$repoConnector = $this->createMock( RepoLinker::class );
|
||||
$repoConnector->method( 'getEntityUrl' )
|
||||
->willReturnCallback( static function ( ItemId $itemId ) {
|
||||
return self::EXAMPLE_URL . 'wiki/Special:EntityPage/' . $itemId->serialize();
|
||||
return self::EXAMPLE_URL . 'wiki/Special:EntityPage/' . $itemId->getSerialization();
|
||||
} );
|
||||
|
||||
$mathFormatter = $this->createMock( MathFormatter::class );
|
||||
|
|
Loading…
Reference in a new issue