It is stupid to test that a void method returns null. Add a comment explaining that
authorPlatonides <platonides@users.mediawiki.org>
Sat, 23 Jul 2011 20:23:26 +0000 (20:23 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 23 Jul 2011 20:23:26 +0000 (20:23 +0000)
commit905caba37de33e45bb3221dac602778749bd9f67
tree80ca7fc661dba45be005409899b5a00169776a3d
parent53b0052df1859b6114e1294074faa3ddf1f74b83
It is stupid to test that a void method returns null. Add a comment explaining that
what we are testing is actually the function existence (see r91123 summary)
Change the onArticle* to is_callable()s, so that a db is not needed.
tests/phpunit/includes/ArticleTest.php