[RecentChangeTest] Refactor unit test to test better test the issue
authorKrinkle <krinkle@users.mediawiki.org>
Tue, 28 Feb 2012 00:39:01 +0000 (00:39 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Tue, 28 Feb 2012 00:39:01 +0000 (00:39 +0000)
commit6c3ab734a973f39df3eab04030e159dcf79ef9b3
tree79fe9201b6305e5e73ff6113bef4b675ad115f14
parentbf1e9d76ad4776ad5d9f6f5b662b418bbf4b1acd
[RecentChangeTest] Refactor unit test to test better test the issue
* assert used message-keys/variables instead of hardcoded values
* Pass $comment to the assertion helper instead of using it by default so that actions that don't use a comment (such as patrol) don't get forced a comment, to better replicate the IRC behavior
* Adding placeholder for Auto-Edit-Summary things that should also be checked in here, not sure how to do those yet
* Adding tests for block/* and protect/*
tests/phpunit/includes/RecentChangeTest.php