Remove mocking of numRows

Deprecated and to be deleted

Bug: T286694
Change-Id: Id678f8366e7a9c18696083b2e331d2dce7d8a8eb
This commit is contained in:
Amir Sarabadani 2022-03-15 18:24:57 +01:00 committed by Zabe
parent 8d35823643
commit ea21714241

View file

@ -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;
}