r98468 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98467‎ | r98468 | r98469 >
Date:22:09, 29 September 2011
Author:jpostlethwaite
Status:ok
Tags:fundraising 
Comment:
Added a form for BANK_TRANSFER. Changed unit testing files.
Modified paths:
  • /branches/fundraising/extensions/DonationInterface/donationinterface.php (modified) (history)

Diff [purge]

Index: branches/fundraising/extensions/DonationInterface/donationinterface.php
@@ -37,6 +37,7 @@
3838 //load all possible form classes
3939 $wgAutoloadClasses['Gateway_Form'] = $donationinterface_dir . 'gateway_forms/Form.php';
4040 $wgAutoloadClasses['Gateway_Form_OneStepTwoColumn'] = $donationinterface_dir . 'gateway_forms/OneStepTwoColumn.php';
 41+$wgAutoloadClasses['Gateway_Form_TwoStepAmount'] = $donationinterface_dir . 'gateway_forms/TwoStepAmount.php';
4142 $wgAutoloadClasses['Gateway_Form_TwoStepTwoColumn'] = $donationinterface_dir . 'gateway_forms/TwoStepTwoColumn.php';
4243 $wgAutoloadClasses['Gateway_Form_TwoColumnPayPal'] = $donationinterface_dir . 'gateway_forms/TwoColumnPayPal.php';
4344 $wgAutoloadClasses['Gateway_Form_TwoColumnLetter'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter.php';
@@ -123,7 +124,6 @@
124125 $wgDonationInterfacePaypalURL = '';
125126
126127 function efDonationInterfaceUnitTests( &$files ) {
127 - $files[] = dirname( __FILE__ ) . '/tests/GatewayAdapterTest.php';
128 - $files[] = dirname( __FILE__ ) . '/tests/DonationDataTest.php';
 128+ //$files[] = dirname( __FILE__ ) . '/tests/AllTests.php';
129129 return true;
130130 }

Status & tagging log