mediawiki-extensions-TextEx.../tests/phpunit
Thiemo Kreuz ed1f73365f Add test cases for all (private) memory caching helper methods
This patch does two things:

* Add a testMemCacheHelpers() test for the setCache(), getFromCache(),
as well as cacheKey() methods.

* Simplify the existing test setup utilizing the PHPUnit4And6Compat
layer. I'm also replacing the Config mock with an actual HashConfig,
because that's a really trivial object that does not need to be mocked.

Change-Id: I7e8a62651a53919d338a7d921f548e941b671670
2019-02-13 14:37:24 +01:00
..
ApiQueryExtractsTest.php Add test cases for all (private) memory caching helper methods 2019-02-13 14:37:24 +01:00
ExtractFormatterTest.php Remove unused ParserOptions from ExtractFormatterTest 2018-06-28 20:44:46 +02:00