mediawiki-extensions-Cite/tests/phpunit/integration
thiemowmde 5aa6cb0c7b Replace extremely slow parser test with fast unit tests
This parser test is a bit obscure, in my opinion. We added it in
I8c4de96 to make sure we don't get thousand separators in most
places.

We continued reworking the code since then. By now it's effectively
impossible to "accidentally" get thousand separators. The
problematic methods from the Language class are not even accessible
any more from this code.

To make the tests more robust we now use createNoOpMock (done via
the previous patch) where it matters, specifically for all Language
and Parser mocks. This proves the problematic Language methods are
never called.

Bug: T253743
Bug: T238187
Change-Id: I9bfe1f4decfaf699996da63e19473c2c0d581d9d
2023-07-28 00:32:38 +00:00
..
AnchorFormatterTest.php No expensive transformations on prefix/suffix messages 2023-07-20 16:22:46 +02:00
CiteTest.php Replace all Language and Parser mocks with no-op mocks 2023-07-27 10:00:28 +00:00
FootnoteMarkFormatterTest.php Replace extremely slow parser test with fast unit tests 2023-07-28 00:32:38 +00:00