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
Merge "Introduce InterwikiLookupAdapter on top of SiteLookup"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
WatchedItemQueryServiceUnitTest.php
diff --git
a/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php
b/tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php
index
1d232fe
..
92446ed
100644
(file)
--- a/
tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php
+++ b/
tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php
@@
-6,10
+6,10
@@
class WatchedItemQueryServiceUnitTest extends PHPUnit_Framework_TestCase {
/**
class WatchedItemQueryServiceUnitTest extends PHPUnit_Framework_TestCase {
/**
- * @return PHPUnit_Framework_MockObject_MockObject|Database
Base
+ * @return PHPUnit_Framework_MockObject_MockObject|Database
*/
private function getMockDb() {
*/
private function getMockDb() {
- $mock = $this->getMockBuilder( Database
Base
::class )
+ $mock = $this->getMockBuilder( Database::class )
->disableOriginalConstructor()
->getMock();
->disableOriginalConstructor()
->getMock();
@@
-55,7
+55,7
@@
class WatchedItemQueryServiceUnitTest extends PHPUnit_Framework_TestCase {
->disableOriginalConstructor()
->getMock();
$mock->expects( $this->any() )
->disableOriginalConstructor()
->getMock();
$mock->expects( $this->any() )
- ->method( 'getConnection' )
+ ->method( 'getConnection
Ref
' )
->with( DB_SLAVE )
->will( $this->returnValue( $mockDb ) );
return $mock;
->with( DB_SLAVE )
->will( $this->returnValue( $mockDb ) );
return $mock;