Fix @covers for FileBackend
authorTim Starling <tstarling@wikimedia.org>
Mon, 27 Feb 2017 05:08:36 +0000 (16:08 +1100)
committerTim Starling <tstarling@wikimedia.org>
Mon, 27 Feb 2017 08:12:22 +0000 (19:12 +1100)
commitf3690d48bc666825c6452911d901549a9c14a37c
treeaa91a2640834fa549011f1536560617d0b37758a
parent3e1411b1bb44cdda7610d76ed028c21c651b9951
Fix @covers for FileBackend

It's up to the developer to choose the level of granularity they are
aspiring for in their test coverage. But that granularity level should be
reflected in @covers. When you have hundreds of lines of code testing a
single-line function (FileBackend::doOperation), that's a good hint that
something went wrong.

FileBackendTest is 2700 lines of code and appears to be aiming to test
the whole filebackend module. So I adjusted @covers to reflect that.

Change-Id: Iacd8cf475d1761c3b32c739983343619a9509d6b
tests/phpunit/includes/filebackend/FileBackendTest.php
tests/phpunit/includes/filebackend/SwiftFileBackendTest.php