Index: trunk/phase3/tests/phpunit/skins/SideBarTest.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -class SideBarTest extends MediaWikiTestCase { |
| 4 | +class SideBarTest extends MediaWikiLangTestCase { |
5 | 5 | |
6 | 6 | /** A skin template, reinitialized before each test */ |
7 | 7 | private $skin; |
— | — | @@ -8,7 +8,6 @@ |
9 | 9 | private $messages; |
10 | 10 | |
11 | 11 | function __construct() { |
12 | | - $this->initMessagesHref(); |
13 | 12 | parent::__construct(); |
14 | 13 | } |
15 | 14 | |
— | — | @@ -32,9 +31,12 @@ |
33 | 32 | } |
34 | 33 | |
35 | 34 | function setUp() { |
| 35 | + parent::setUp(); |
| 36 | + $this->initMessagesHref(); |
36 | 37 | $this->skin = new SkinTemplate(); |
37 | 38 | } |
38 | 39 | function tearDown() { |
| 40 | + parent::tearDown(); |
39 | 41 | $this->skin = null; |
40 | 42 | } |
41 | 43 | |