Convert WatchedItem and friends to LinkTarget
[lhc/web/wiklou.git] / tests / phpunit / includes / watcheditem / NoWriteWatchedItemStoreUnitTest.php
index cc60899..f424b21 100644 (file)
@@ -78,7 +78,7 @@ class NoWriteWatchedItemStoreUnitTest extends MediaWikiTestCase {
                $this->setExpectedException( DBReadOnlyError::class );
                $noWriteService->resetNotificationTimestamp(
                        new UserIdentityValue( 1, 'MockUser', 0 ),
-                       Title::newFromText( 'Foo' )
+                       new TitleValue( 0, 'Foo' )
                );
        }