X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fspecials%2FSpecialWatchlistTest.php;h=a0fe33921fd887174af671ae2989cbeaf757ba3d;hb=31495b9e60e01438f5906cb24d484599e4930e66;hp=1c43919955204415fcbfb4b6b6b6b1ad1c617bb7;hpb=5256bb8ce2da1390f84ef535d990129eebd74fd2;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/specials/SpecialWatchlistTest.php b/tests/phpunit/includes/specials/SpecialWatchlistTest.php index 1c43919955..a0fe33921f 100644 --- a/tests/phpunit/includes/specials/SpecialWatchlistTest.php +++ b/tests/phpunit/includes/specials/SpecialWatchlistTest.php @@ -149,6 +149,7 @@ class SpecialWatchlistTest extends SpecialPageTestBase { // Second two overriden 'hideanons' => false, 'hideliu' => true, + 'userExpLevel' => 'registered' ] + $wikiDefaults, [ 'watchlisthideminor' => 1, @@ -171,12 +172,14 @@ class SpecialWatchlistTest extends SpecialPageTestBase { 'hidebots' => true, 'hideanons' => false, 'hideliu' => true, + 'userExpLevel' => 'unregistered' ] + $allFalse, [ 'watchlisthideminor' => 0, 'watchlisthidebots' => 1, - 'watchlisthideanons' => 1, - 'watchlisthideliu' => 0, + + 'watchlisthideanons' => 0, + 'watchlisthideliu' => 1, ], [ 'hidebots' => 1,