Changeset 10470 for trunk/tests/phpunit/includes/loader.php
- Timestamp:
- 01/27/2016 04:43:44 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/loader.php
r9819 r10470 8 8 // Bootstrap BP 9 9 require dirname( __FILE__ ) . '/../../../src/bp-loader.php'; 10 11 require_once( dirname( __FILE__ ) . '/mock-mailer.php' ); 12 function _bp_mock_mailer( $class ) { 13 return 'BP_UnitTest_Mailer'; 14 } 15 tests_add_filter( 'bp_send_email_delivery_class', '_bp_mock_mailer' );
Note: See TracChangeset
for help on using the changeset viewer.