Skip to content

Commit

Permalink
Rename test-content
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Sep 19, 2024
1 parent c187c17 commit 93a88c1
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Check warning on line 61 in includes/Checker/Preparations/Universal_Runtime_Preparation.php

View check run for this annotation

Codecov / codecov/patch

includes/Checker/Preparations/Universal_Runtime_Preparation.php#L61

Added line #L61 was not covered by tests
}

$use_minimal_theme_preparation = new Use_Minimal_Theme_Preparation( 'wp-empty-theme', $theme_folder );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 93a88c1

Please sign in to comment.