diff options
Diffstat (limited to 'tests/phpunit/includes/title')
-rw-r--r-- | tests/phpunit/includes/title/TitleTest.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/phpunit/includes/title/TitleTest.php b/tests/phpunit/includes/title/TitleTest.php index 81e1e17ab2d4..0b66ab0f37d9 100644 --- a/tests/phpunit/includes/title/TitleTest.php +++ b/tests/phpunit/includes/title/TitleTest.php @@ -1798,7 +1798,6 @@ class TitleTest extends MediaWikiIntegrationTestCase { public function testNewMainPage() { $mock = $this->createMock( MessageCache::class ); $mock->method( 'get' )->willReturn( 'Foresheet' ); - $mock->method( 'transform' )->willReturn( 'Foresheet' ); $this->setService( 'MessageCache', $mock ); @@ -1816,7 +1815,6 @@ class TitleTest extends MediaWikiIntegrationTestCase { public function testNewMainPageNoRecursion() { $mock = $this->createMock( MessageCache::class ); $mock->method( 'get' )->willReturn( 'localtestiw:' ); - $mock->method( 'transform' )->willReturn( 'localtestiw:' ); $this->setService( 'MessageCache', $mock ); $this->assertSame( |