ContentHandlerTest: Use dataProvider
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 22 Mar 2013 14:16:35 +0000 (15:16 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 22 Mar 2013 14:16:35 +0000 (15:16 +0100)
commit5a8609073c7f04d539d7550fe1ccca01df765572
tree832a77b1827844bf7dd01a5afa8f5ebfe57b43fd
parentb9dbfa684148c1350223cd18033992b352ae8d6f
ContentHandlerTest: Use dataProvider

Changing a global 3 times in a test is bad, using dataProvider for two
tests and split another in 3, because there are different.

Using mwglobals to set the globals, than restoring is done
automatically.

Change-Id: Ie0f9ce0be39e457d18752e905d6deeb1803cb4c3
tests/phpunit/includes/content/ContentHandlerTest.php