Ejegg has uploaded a new change for review.

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

Change subject: Add dataProvider params to DI test case constructor
......................................................................

Add dataProvider params to DI test case constructor

Change-Id: Idd2c0310271b723888acceab31d4625430eb786e
---
M tests/Adapter/WorldPay/WorldPayTestCase.php
M tests/DonationInterfaceTestCase.php
2 files changed, 4 insertions(+), 4 deletions(-)


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

diff --git a/tests/Adapter/WorldPay/WorldPayTestCase.php 
b/tests/Adapter/WorldPay/WorldPayTestCase.php
index 6131732..710a503 100644
--- a/tests/Adapter/WorldPay/WorldPayTestCase.php
+++ b/tests/Adapter/WorldPay/WorldPayTestCase.php
@@ -29,8 +29,8 @@
  */
 class DonationInterface_Adapter_WorldPay_WorldPayTestCase extends 
DonationInterfaceTestCase {
 
-       function __construct() {
-               parent::__construct();
+       function __construct( $name = null, array $data = array(), $dataName = 
'' ) {
+               parent::__construct( $name, $data, $dataName );
                $this->testAdapterClass = 'TestingWorldPayAdapter';
        }
 
diff --git a/tests/DonationInterfaceTestCase.php 
b/tests/DonationInterfaceTestCase.php
index fa8f751..246eee8 100644
--- a/tests/DonationInterfaceTestCase.php
+++ b/tests/DonationInterfaceTestCase.php
@@ -53,7 +53,7 @@
         */
        protected $gatewayAdapter;
 
-       public function __construct() {
+       public function __construct( $name = null, array $data = array(), 
$dataName = '' ) {
 
                //Just in case you got here without running the configuration...
                global $wgDonationInterfaceTestMode;
@@ -62,7 +62,7 @@
                $adapterclass = TESTS_ADAPTER_DEFAULT;
                $this->testAdapterClass = $adapterclass;
 
-               parent::__construct();
+               parent::__construct( $name, $data, $dataName );
        }
 
        protected function setUp() {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idd2c0310271b723888acceab31d4625430eb786e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to