mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 09:10:12 +00:00
Remove mocking of numRows
Deprecated and to be deleted Bug: T286694 Change-Id: Id678f8366e7a9c18696083b2e331d2dce7d8a8eb
This commit is contained in:
parent
8d35823643
commit
ea21714241
|
@ -169,10 +169,6 @@ class EchoUserNotificationGatewayTest extends MediaWikiUnitTestCase {
|
|||
$db->expects( $this->any() )
|
||||
->method( 'selectRowCount' )
|
||||
->will( $this->returnValue( $dbResult['selectRowCount'] ) );
|
||||
$numRows = is_array( $dbResult['select'] ) ? count( $dbResult['select'] ) : 0;
|
||||
$db->expects( $this->any() )
|
||||
->method( 'numRows' )
|
||||
->will( $this->returnValue( $numRows ) );
|
||||
|
||||
return $db;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue