buddypress/tests/phpunit/includes
Paul Gibbs 0edd867569 Tests: fix plugin activation in PHPUnit bootstrap.
In the bootstrap, we load BuddyPress into the WordPress by including the BuddyPress file directly, hooked to `muplugins_loaded`.
This has worked well except the standard plugin activation actions that `activate_plugins()` would usually trigger, aren't called.
BuddyPress hooks to the activation action in `bp_activation()` to call `bp_add_options()`, which adds default options and values to the database.

This change calls the required action manually, fixing the PHPUnit environment set-up, required after r11094.

Fixes #7254

git-svn-id: https://buddypress.svn.wordpress.org/trunk@11096 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2016-09-13 18:45:34 +00:00
..
define-constants.php Replace use of __DIR__ as it is not supported on PHP 5.2. 2015-02-18 21:01:53 +00:00
factory.php Tests: Add Friendship factory. 2016-09-06 03:31:21 +00:00
install.php Tests: fix plugin activation in PHPUnit bootstrap. 2016-09-13 18:45:34 +00:00
loader.php Introduce base classes for new Email implementation. 2016-01-27 16:43:44 +00:00
mock-mailer.php Introduce base classes for new Email implementation. 2016-01-27 16:43:44 +00:00
testcase-emails.php Tests: new base class for BP_Email tests. 2016-02-06 19:26:09 +00:00
testcase.php Tests: Set up page mappings in setUp() rather than setUpBeforeClass(). 2016-09-01 03:44:48 +00:00