X-Git-Url: https://git.heureux-cyclage.org/w/index.php?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FWatchedItemQueryServiceUnitTest.php;h=92446ed950a91e5b69edf53bedcf3cfdd3615cad;hb=53779578b44575ef91feb3fad488f09b52f737d7;hp=93e0b57f7acb2e3da280793a11a07675481a44de;hpb=fd5127b4f0278299760c823eb0c68523ad1cf3cc;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php b/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php index 93e0b57f7a..92446ed950 100644 --- a/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php +++ b/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php @@ -55,7 +55,7 @@ class WatchedItemQueryServiceUnitTest extends PHPUnit_Framework_TestCase { ->disableOriginalConstructor() ->getMock(); $mock->expects( $this->any() ) - ->method( 'getConnection' ) + ->method( 'getConnectionRef' ) ->with( DB_SLAVE ) ->will( $this->returnValue( $mockDb ) ); return $mock;