mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
6a4a0fd013
… if possible. In most cases it's possible to use the real object, and reach into it's private parts via TestingAccessWrapper. This is almost the same as using a mock, but I feel it's much more "light-weight". The main change is that there is no strict assertion any more for the number of ReferenceStack::pushInvalidRef() calls. Before this was mixed into the same array as the valid references, as elements set to "false". I think the test is as valueable as before without this extra check. If the rollback stack works or not is already covered by other tests. Change-Id: I90213557b164b3e43233a3dc393ee3f3d3d556a9 |
||
---|---|---|
.. | ||
unit | ||
CiteCSSFileModuleTest.php | ||
CiteDbTest.php | ||
CiteHooksTest.php | ||
CiteIntegrationTest.php | ||
ReferenceMessageLocalizerTest.php |