Merge "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialWatchlistTest.php
index a0fe339..5adbed8 100644 (file)
@@ -56,7 +56,7 @@ class SpecialWatchlistTest extends SpecialPageTestBase {
        }
 
        public function testNotLoggedIn_throwsException() {
-               $this->setExpectedException( 'UserNotLoggedIn' );
+               $this->setExpectedException( UserNotLoggedIn::class );
                $this->executeSpecialPage();
        }