aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/page/DeletePageTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/unit/includes/page/DeletePageTest.php')
-rw-r--r--tests/phpunit/unit/includes/page/DeletePageTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/unit/includes/page/DeletePageTest.php b/tests/phpunit/unit/includes/page/DeletePageTest.php
index 9a48e746d92b..d169266a179f 100644
--- a/tests/phpunit/unit/includes/page/DeletePageTest.php
+++ b/tests/phpunit/unit/includes/page/DeletePageTest.php
@@ -292,7 +292,7 @@ class DeletePageTest extends MediaWikiUnitTestCase {
);
return $wpFactory;
};
- $nsInfo = new NamespaceInfo( $this->createMock( ServiceOptions::class ), $this->createHookContainer() );
+ $nsInfo = new NamespaceInfo( $this->createMock( ServiceOptions::class ), $this->createHookContainer(), [], [] );
$talkPage = new PageIdentityValue( 42, NS_TALK, 'Test talk page', PageIdentity::LOCAL );
yield 'Talk page' => [ $talkPage, $getWpFactory( false ), $nsInfo, 'delete-error-associated-alreadytalk' ];