mirror of
https://github.com/buddypress/buddypress.git
synced 2026-07-23 21:06:56 +08:00
Props imath. Closes https://github.com/buddypress/buddypress/pull/295 Fixes #9081 git-svn-id: https://buddypress.svn.wordpress.org/trunk@13980 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
17 lines
451 B
PHP
17 lines
451 B
PHP
<?php
|
|
require_once dirname( __FILE__ ) . '/testcase.php';
|
|
|
|
class BP_UnitTestCase_Emails extends BP_UnitTestCase {
|
|
|
|
public static function set_up_before_class() {
|
|
parent::set_up_before_class();
|
|
|
|
require_once( buddypress()->plugin_dir . '/bp-core/admin/bp-core-admin-schema.php' );
|
|
|
|
/*
|
|
* WP's test suite wipes out BP's email posts.
|
|
* We must reestablish them before our tests can be successfully run.
|
|
*/
|
|
bp_core_install_emails();
|
|
}
|
|
}
|