mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
parent
04413b9f6c
commit
2880d80e12
6 changed files with 36 additions and 5 deletions
|
@ -21,7 +21,9 @@ require_once $_tests_dir . '/includes/functions.php';
|
|||
* Manually load the plugin being tested.
|
||||
*/
|
||||
function _manually_load_plugin() {
|
||||
require dirname( dirname( __FILE__ ) ) . '/index.php';
|
||||
define( 'WPORG_SUPPORT_FORUMS_BLOGID', 1 );
|
||||
|
||||
require dirname( __FILE__, 2 ) . '/index.php';
|
||||
require __DIR__ . '/helpers.php';
|
||||
}
|
||||
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue