From: Platonides Date: Wed, 23 May 2012 21:09:15 +0000 (+0200) Subject: Make it work in wikis not configured in English. X-Git-Tag: 1.31.0-rc.0~23511^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=9180ab0b7ce8cb8a2879eedad484f416ce6ee6c2;p=lhc%2Fweb%2Fwiklou.git Make it work in wikis not configured in English. (hardcodes message values) php phpunit.php includes/WikiPageTest.php Change-Id: I4b93d983f467fd281695be5ac778d30db0b09c17 --- diff --git a/tests/phpunit/includes/WikiPageTest.php b/tests/phpunit/includes/WikiPageTest.php index 65abdabf3a..c8606cc745 100644 --- a/tests/phpunit/includes/WikiPageTest.php +++ b/tests/phpunit/includes/WikiPageTest.php @@ -4,7 +4,7 @@ * ^--- important, causes temporary tables to be used instead of the real database **/ -class WikiPageTest extends MediaWikiTestCase { +class WikiPageTest extends MediaWikiLangTestCase { var $pages_to_delete; @@ -30,6 +30,7 @@ class WikiPageTest extends MediaWikiTestCase { } public function setUp() { + parent::setUp(); $this->pages_to_delete = array(); } @@ -45,6 +46,7 @@ class WikiPageTest extends MediaWikiTestCase { // fail silently } } + parent::tearDown(); } protected function newPage( $title ) {