We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef24e84 commit 1025380Copy full SHA for 1025380
templates/plugin-bootstrap.mustache
@@ -10,6 +10,10 @@ if ( ! $_tests_dir ) {
10
$_tests_dir = '/tmp/wordpress-tests-lib';
11
}
12
13
+if ( ! file_exists( $_tests_dir . '/includes/functions.php' ) ) {
14
+ throw new Exception( "Could not find $_tests_dir/includes/functions.php, have you run bin/install-wp-tests.sh ?" );
15
+}
16
+
17
// Give access to tests_add_filter() function.
18
require_once $_tests_dir . '/includes/functions.php';
19
0 commit comments