diff --git a/includes/Checker/Preparations/Universal_Runtime_Preparation.php b/includes/Checker/Preparations/Universal_Runtime_Preparation.php index 29bdc610b..5d8e4bbf3 100644 --- a/includes/Checker/Preparations/Universal_Runtime_Preparation.php +++ b/includes/Checker/Preparations/Universal_Runtime_Preparation.php @@ -56,9 +56,9 @@ public function prepare() { if ( ! defined( 'WP_PLUGIN_CHECK_PLUGIN_DIR_PATH' ) ) { $plugins_dir = defined( 'WP_PLUGIN_DIR' ) ? WP_PLUGIN_DIR : WP_CONTENT_DIR . '/plugins'; - $theme_folder = $plugins_dir . '/plugin-check/test-content/themes'; + $theme_folder = $plugins_dir . '/plugin-check/runtime-content/themes'; } else { - $theme_folder = WP_PLUGIN_CHECK_PLUGIN_DIR_PATH . 'test-content/themes'; + $theme_folder = WP_PLUGIN_CHECK_PLUGIN_DIR_PATH . 'runtime-content/themes'; } $use_minimal_theme_preparation = new Use_Minimal_Theme_Preparation( 'wp-empty-theme', $theme_folder ); diff --git a/test-content/themes/wp-empty-theme/comments.php b/runtime-content/themes/wp-empty-theme/comments.php similarity index 100% rename from test-content/themes/wp-empty-theme/comments.php rename to runtime-content/themes/wp-empty-theme/comments.php diff --git a/test-content/themes/wp-empty-theme/footer.php b/runtime-content/themes/wp-empty-theme/footer.php similarity index 100% rename from test-content/themes/wp-empty-theme/footer.php rename to runtime-content/themes/wp-empty-theme/footer.php diff --git a/test-content/themes/wp-empty-theme/functions.php b/runtime-content/themes/wp-empty-theme/functions.php similarity index 100% rename from test-content/themes/wp-empty-theme/functions.php rename to runtime-content/themes/wp-empty-theme/functions.php diff --git a/test-content/themes/wp-empty-theme/header.php b/runtime-content/themes/wp-empty-theme/header.php similarity index 100% rename from test-content/themes/wp-empty-theme/header.php rename to runtime-content/themes/wp-empty-theme/header.php diff --git a/test-content/themes/wp-empty-theme/inc/back-compat.php b/runtime-content/themes/wp-empty-theme/inc/back-compat.php similarity index 100% rename from test-content/themes/wp-empty-theme/inc/back-compat.php rename to runtime-content/themes/wp-empty-theme/inc/back-compat.php diff --git a/test-content/themes/wp-empty-theme/inc/template-functions.php b/runtime-content/themes/wp-empty-theme/inc/template-functions.php similarity index 100% rename from test-content/themes/wp-empty-theme/inc/template-functions.php rename to runtime-content/themes/wp-empty-theme/inc/template-functions.php diff --git a/test-content/themes/wp-empty-theme/inc/template-tags.php b/runtime-content/themes/wp-empty-theme/inc/template-tags.php similarity index 100% rename from test-content/themes/wp-empty-theme/inc/template-tags.php rename to runtime-content/themes/wp-empty-theme/inc/template-tags.php diff --git a/test-content/themes/wp-empty-theme/index.php b/runtime-content/themes/wp-empty-theme/index.php similarity index 100% rename from test-content/themes/wp-empty-theme/index.php rename to runtime-content/themes/wp-empty-theme/index.php diff --git a/test-content/themes/wp-empty-theme/min-style.css b/runtime-content/themes/wp-empty-theme/min-style.css similarity index 100% rename from test-content/themes/wp-empty-theme/min-style.css rename to runtime-content/themes/wp-empty-theme/min-style.css diff --git a/test-content/themes/wp-empty-theme/searchform.php b/runtime-content/themes/wp-empty-theme/searchform.php similarity index 100% rename from test-content/themes/wp-empty-theme/searchform.php rename to runtime-content/themes/wp-empty-theme/searchform.php diff --git a/test-content/themes/wp-empty-theme/style.css b/runtime-content/themes/wp-empty-theme/style.css similarity index 100% rename from test-content/themes/wp-empty-theme/style.css rename to runtime-content/themes/wp-empty-theme/style.css diff --git a/tests/phpunit/tests/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php b/tests/phpunit/tests/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php index d6ce20883..9b8728edd 100644 --- a/tests/phpunit/tests/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php +++ b/tests/phpunit/tests/Checker/Preparations/Use_Minimal_Theme_Preparation_Tests.php @@ -17,7 +17,7 @@ public function set_up() { $this->theme_name = 'WP Empty Theme'; $this->theme_slug = 'wp-empty-theme'; - $this->theme_dir = TESTS_PLUGIN_DIR . '/test-content/themes'; + $this->theme_dir = TESTS_PLUGIN_DIR . '/runtime-content/themes'; } public function test_get_theme_slug() {