Skip to content
Snippets Groups Projects

Fix fatal in test run under PHP 8

Merged Erick Hitter requested to merge fix/test into master
Files
3
+ 3
0
@@ -27,5 +27,8 @@ function _manually_load_plugin() {
@@ -27,5 +27,8 @@ function _manually_load_plugin() {
}
}
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
 
// Load base class for compatibility.
 
require __DIR__ . '/class-test-case.php';
 
// Start up the WP testing environment.
// Start up the WP testing environment.
require $_tests_dir . '/includes/bootstrap.php';
require $_tests_dir . '/includes/bootstrap.php';
Loading