mediawiki-extensions-Cite/tests/phpunit
Thiemo Kreuz a6a16f0703 Update and increase ReferenceStack test coverage
Functional changes:
* hasGroup() will return false when a group exists, but is empty. This
  is in line with what other methods like getGroups() already do.
  Shouldn't have any effect on the existing code, but feels more clean
  and consistent.
* getGroupRefs() won't fail any more when asked for an unknown group.

Tests:
* Add missing @covers for the constructor.
* Simplify test setup by always returning a spy. All tests need it
  anyway.
* Cover 3 more methods.

Change-Id: Ie93e9af6258b757d842b30b0b059344733aad434
2019-11-27 11:08:00 +01:00
..
unit Update and increase ReferenceStack test coverage 2019-11-27 11:08:00 +01:00
CiteCSSFileModuleTest.php Move all code to PSR-4 compatible namespaces 2019-11-20 17:00:13 +01:00
CiteErrorReporterTest.php Fix misleading method names in CiteErrorReporter 2019-11-22 15:08:39 +01:00
CiteHooksTest.php Move all code to PSR-4 compatible namespaces 2019-11-20 17:00:13 +01:00
CiteTest.php Move all code to PSR-4 compatible namespaces 2019-11-20 17:00:13 +01:00