Make BatchRowUpdateTest compatible with PHPUnit 6
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 12 Apr 2018 19:51:10 +0000 (12:51 -0700)
committerJforrester <jforrester@wikimedia.org>
Thu, 12 Apr 2018 20:33:41 +0000 (20:33 +0000)
commit414b703c5842ec47a7809ec039b499f0b0966bb2
treedaaec9261ec9dff61fc7481e2bb3d0580736c338
parent54d50ef3921dc9f30dc4d863ddc471dc564998e9
Make BatchRowUpdateTest compatible with PHPUnit 6

Explicitly declare all the methods that will be mocked. Also
testReaderBasicIterate needs to mock addQuotes as well, so use the
mockDbConsecutiveSelect() function that already takes care of that.

Change-Id: Ic02253cf25758124f320d0b46e0b1d43195c4bc0
tests/phpunit/includes/utils/BatchRowUpdateTest.php