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.
2 parents 0d98561 + a17e789 commit a0add83Copy full SHA for a0add83
tests/bootstrap.php
@@ -1,4 +1,5 @@
1
<?php
2
+define( 'WP_CLI', true );
3
define( 'WP_CLI_TESTS_ROOT', dirname( __DIR__ ) );
4
define( 'VENDOR_DIR',
5
file_exists( WP_CLI_TESTS_ROOT . '/vendor/autoload.php' )
@@ -7,6 +8,7 @@
7
8
);
9
define( 'WP_CLI_ROOT', VENDOR_DIR . '/wp-cli/wp-cli' );
10
define( 'PACKAGE_ROOT', VENDOR_DIR . '/..' );
11
+define( 'WP_CLI_VERSION', trim( file_get_contents( WP_CLI_ROOT . '/VERSION' ) ) );
12
13
/**
14
* Compatibility with PHPUnit 6+
0 commit comments