Adding test case for basic WikiPage functionality, including database interaction.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 2 May 2012 17:35:42 +0000 (19:35 +0200)
committerAntoine Musso <hashar@free.fr>
Mon, 7 May 2012 21:57:30 +0000 (14:57 -0700)
commit479711159c6a362bb00da4831865075eb783e073
tree8e62d4d39a70d5cef04ea2964aa746c95c688ccb
parente87ff996cc261e46abd2f321100c9da231bf7dbc
Adding test case for basic WikiPage functionality, including database interaction.

New tests are added to avoid regressions when the ContentHandler facility
is introduced.

Changeset 3: use tablesUsed to allow database cleanup after test, as per
             Aaron's suggestion.

Changeset 4: use array_merge instead of +=.

Changeset 5: trying dumber rollback test to see of jenkins likes it better.

Change-Id: I0a9f8dfd30031baa4b12cc128a39059868149884
tests/phpunit/includes/WikiPageTest.php [new file with mode: 0644]