@@ -4,10 +4,10 @@ Feature: wp-config.php tests
44 # Only testing on MySQL because the SQLite drop-in is not added to the custom directories in this test.
55 @require-mysql
66 Scenario : __FILE__ and __DIR__ in wp-config.php don't point into the PHAR filesystem
7- Given a WP installation
8- And a new Phar with the same version
9- And a wp-config.php file:
10- """
7+ Given a WP installation
8+ And a new Phar with the same version
9+ And a wp-config.php file:
10+ """
1111 <?php
1212 define( 'DB_NAME', 'wp_cli_test' );
1313 define( 'DB_USER', '{DB_USER}' );
@@ -24,14 +24,14 @@ Feature: wp-config.php tests
2424 require_once( ABSPATH . 'wp-settings.php' );
2525 """
2626
27- When I run `{PHAR_PATH} eval "echo 'WP_CONTENT_DIR => ' . WP_CONTENT_DIR;" `
28- Then STDOUT should not contain:
29- """
27+ When I run `{PHAR_PATH} eval "echo 'WP_CONTENT_DIR => ' . WP_CONTENT_DIR;" `
28+ Then STDOUT should not contain:
29+ """
3030 WP_CONTENT_DIR => phar://
3131 """
3232
33- When I run `{PHAR_PATH} eval "echo 'WP_PLUGIN_DIR => ' . WP_PLUGIN_DIR;" `
34- Then STDOUT should not contain:
35- """
33+ When I run `{PHAR_PATH} eval "echo 'WP_PLUGIN_DIR => ' . WP_PLUGIN_DIR;" `
34+ Then STDOUT should not contain:
35+ """
3636 WP_PLUGIN_DIR => phar://
3737 """
0 commit comments