wiki.techinc.nl/tests/phpunit/unit
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
..
documentation Make ReleaseNotesTest a pure unit test 2021-01-21 02:45:09 +00:00
includes Remove meaningless ->expects( $this->any() ) from all tests 2021-04-23 11:58:58 +02:00
languages Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
maintenance Move MWDoxygenFilterTest to unit tests 2021-03-28 18:33:51 +00:00