dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert WatchedItemQueryService to using getConnectionRef()
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
WatchedItemQueryServiceUnitTest.php
diff --git
a/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php
b/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php
index
93e0b57
..
92446ed
100644
(file)
--- 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( 'getConnection
Ref
' )
->with( DB_SLAVE )
->will( $this->returnValue( $mockDb ) );
return $mock;