mediawiki-extensions-Cite/tests/phpunit/unit
Thiemo Kreuz f94b400474 Make most existing Cite tests pure unit tests
1. Most existing CiteTests can be unit tests. They run so much faster
this way.

2. I modified some test cases to cover all trim() in the code.

3. The strict type hint in CiteHooks is removed because the parameter
is not used. Having a hard type hint for what is effectively dead code
makes the code more brittle for changes done outside of this codebase.

Change-Id: I1bff1d6e02d9ef17d5e6b66aeec3ee42bba99cf4
2019-11-12 14:56:40 +01:00
..
CiteHooksTest.php Add basic unit tests for all 3 hook classes 2019-11-12 11:11:45 +00:00
CiteParserHooksTest.php Add basic unit tests for all 3 hook classes 2019-11-12 11:11:45 +00:00
CiteParserTagHooksTest.php Add basic unit tests for all 3 hook classes 2019-11-12 11:11:45 +00:00
CiteTest.php Make most existing Cite tests pure unit tests 2019-11-12 14:56:40 +01:00