tests: Fix invalid @covers value in StatusTest.php
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 22 Sep 2016 17:29:28 +0000 (18:29 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 22 Sep 2016 17:29:28 +0000 (18:29 +0100)
commite6e9e54be45a5ebd67b5e183cc008d8f883190b9
tree291e62eacfa9d3b24a60beb70fe1038c9e54e55a
parentdf0c45d1ed34c795582ac9ffb5a6db70d67c3f01
tests: Fix invalid @covers value in StatusTest.php

Uusally, phpunit issues a warning and continues to generate the
report but in this case it caused an early exit with no output.
Follows-up 3706dcb5c.

> Trying to @cover not existing method Status::getErrorsOnlyStatus.

Also:
* Increase coverage by adding @covers where missing.
* Use setOK() internally.
* Add test for 'ok' setter.

Change-Id: If6db634079c857f02b2594be199e6910ec49a52a
tests/phpunit/includes/StatusTest.php