wiki.techinc.nl/tests/phpunit/includes/search
Thiemo Kreuz b95a07380a Remove meaningless ->expects( $this->any() ) from all tests
It is not entirely meaningless. It might be an indicator that
the number of calls to a method is intentionally unlimited.
This is similar to e.g. an @inheritDoc PHPDoc comment that
marks a method as being "intentionally undocumented".

However, what's the meaning of being "intentionally
unconstrained"? Let's just not have any constraint then.

I feel all these ->expects( $this->any() ) bloat the test
code so much that it's never worth it.

Change-Id: I9925e7706bd03e1666f6eb0b284cb42b0dd3be23
2021-04-23 11:58:58 +02:00
..
ParserOutputSearchDataExtractorTest.php Extract ParserOutput search index data fields from WikiTextContentHandler 2016-08-19 09:26:17 -04:00
PrefixSearchTest.php PrefixSearchTest: move under /search tests 2021-03-11 21:31:06 +00:00
SearchEnginePrefixTest.php Replace PHPUnit ->returnValue() with ->willReturn() shortcut 2021-04-22 10:37:45 +02:00
SearchEngineTest.php Remove meaningless ->expects( $this->any() ) from all tests 2021-04-23 11:58:58 +02:00
SearchNearMatcherTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
SearchNearMatchResultSetTest.php build: Bump mediawiki-codesniffer to 31.0.0 2020-05-30 14:56:28 +00:00
SearchResultSetTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
SearchResultTraitTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00