Changeset 10470 for trunk/tests/phpunit/includes/install.php
- Timestamp:
- 01/27/2016 04:43:44 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/install.php
r9836 r10470 14 14 require_once $config_file_path; 15 15 require_once $tests_dir_path . '/includes/functions.php'; 16 require_once $tests_dir_path . '/includes/mock-mailer.php'; 16 17 17 18 function _load_buddypress() { … … 49 50 } 50 51 52 function _bp_mock_mailer( $class ) { 53 return 'BP_UnitTest_Mailer'; 54 } 55 tests_add_filter( 'bp_send_email_delivery_class', '_bp_mock_mailer' ); 56 51 57 // Install BuddyPress 52 58 bp_version_updater();
Note: See TracChangeset
for help on using the changeset viewer.