Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/313822

Change subject: Test
......................................................................

Test

Change-Id: I32f9aa2e6e753ace231063ff0dff712b322f0251
---
M DonationInterface.class.php
M tests/phpunit/AllTests.php
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/22/313822/1

diff --git a/DonationInterface.class.php b/DonationInterface.class.php
index e917c8e..6cdcf1d 100644
--- a/DonationInterface.class.php
+++ b/DonationInterface.class.php
@@ -46,6 +46,9 @@
 
                $testDir = __DIR__ . '/tests/phpunit/';
 
+               // Set up globaltown
+               require_once $testDir . '/TestConfiguration.php';
+
                $files[] = $testDir . 'AllTests.php';
 
                $wgAutoloadClasses['DonationInterfaceTestCase'] = $testDir . 
'DonationInterfaceTestCase.php';
diff --git a/tests/phpunit/AllTests.php b/tests/phpunit/AllTests.php
index bc1b3b0..80a429b 100644
--- a/tests/phpunit/AllTests.php
+++ b/tests/phpunit/AllTests.php
@@ -25,9 +25,6 @@
        function __construct() {
                parent::__construct( 'DonationInterface test suite' );
 
-               // Set up globaltown
-               require_once __DIR__ . '/TestConfiguration.php';
-
                $suffixes = array(
                        'Test.php',
                );

-- 
To view, visit https://gerrit.wikimedia.org/r/313822
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I32f9aa2e6e753ace231063ff0dff712b322f0251
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to