phpunit: Simplify mock object syntax in includes/db/ tests
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 14 Sep 2016 22:51:05 +0000 (15:51 -0700)
committerKrinkle <krinklemail@gmail.com>
Thu, 15 Sep 2016 01:47:18 +0000 (01:47 +0000)
commitf6ce15ead374722409f031ab1466d60c2fedff6d
tree7c8b43bb64e4f2dd5e4fbf414610acff76fa705a
parent7813e93a1cc1ec5bc46ce79f645036b0abb3cc08
phpunit: Simplify mock object syntax in includes/db/ tests

* Omit redundant `expects( $this->any() )`.
* Use willReturn() instead of `will( $this->returnValue() )`.

Change-Id: If90ac651748af8a78a720992240e40ba53cec79c
tests/phpunit/includes/db/DatabaseMysqlBaseTest.php
tests/phpunit/includes/db/LBFactoryTest.php