X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FWatchedItemQueryServiceUnitTest.php;h=92446ed950a91e5b69edf53bedcf3cfdd3615cad;hp=93e0b57f7acb2e3da280793a11a07675481a44de;hb=3887981320fcc1f06479a39f7fa7cf358845683a;hpb=531ed101ccd14dc7e2cf2858a67b2523ef6a79ff 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;