Use setUp instead of __construct in RecentChangeTest
authoraddshore <addshorewiki@gmail.com>
Mon, 21 Sep 2015 09:25:24 +0000 (10:25 +0100)
committerAddshore <addshorewiki@gmail.com>
Mon, 21 Sep 2015 13:33:50 +0000 (13:33 +0000)
Change-Id: Ia0d704a2832c54995fba0014ae6422765a743be0

tests/phpunit/includes/changes/RecentChangeTest.php

index 49ac574..9341c4c 100644 (file)
@@ -10,8 +10,8 @@ class RecentChangeTest extends MediaWikiTestCase {
        protected $user_comment;
        protected $context;
 
-       public function __construct() {
-               parent::__construct();
+       public function setUp() {
+               parent::setUp();
 
                $this->title = Title::newFromText( 'SomeTitle' );
                $this->target = Title::newFromText( 'TestTarget' );