Index: branches/fundraising/extensions/DonationInterface/tests/TestConfiguration.php.dist |
— | — | @@ -27,9 +27,7 @@ |
28 | 28 | * |
29 | 29 | * Message for code that has not been implemented. |
30 | 30 | */ |
31 | | -if ( !defined( 'PHPUNIT_MAIN_METHOD' ) ) { |
32 | | - define( 'TESTS_MESSAGE_NOT_IMPLEMENTED', 'Not implemented yet!' ); |
33 | | -} |
| 31 | +define( 'TESTS_MESSAGE_NOT_IMPLEMENTED', 'Not implemented yet!' ); |
34 | 32 | |
35 | 33 | /** |
36 | 34 | * TESTS_HOSTNAME |
— | — | @@ -39,9 +37,16 @@ |
40 | 38 | define( 'TESTS_HOSTNAME', 'localhost' ); |
41 | 39 | |
42 | 40 | /** |
43 | | - * TESTS_CREDIT_CARDS_AMEREICAN_EXPRESS_VALID_CARD |
| 41 | + * TESTS_EMAIL |
44 | 42 | * |
45 | | - * A valid American Express Ccard |
| 43 | + * An email address to use in case test send mail |
46 | 44 | */ |
47 | | -define( 'TESTS_CREDIT_CARDS_AMEREICAN_EXPRESS_VALID_CARD', '378282246310005' ); |
| 45 | +define( 'TESTS_EMAIL', 'no-reply@wikimedia.org' ); |
48 | 46 | |
| 47 | +/** |
| 48 | + * TESTS_PFP_CREDIT_CARDS_AMEREICAN_EXPRESS_VALID_CARD |
| 49 | + * |
| 50 | + * A "valid" test American Express Card for PayFlowPro. |
| 51 | + */ |
| 52 | +define( 'TESTS_PFP_CREDIT_CARDS_AMEREICAN_EXPRESS_VALID_CARD', '378282246310005' ); |
| 53 | + |