Skip to content

Commit

Permalink
Update docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
joemcgill committed Nov 20, 2023
1 parent f823bcd commit 0b210de
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/phpunit/tests/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,8 @@ private function helper_requires_block_theme() {
* Make sure filters added after the initial call are fired.
*
* @ticket 59847
*
* @covers ::get_stylesheet_directory
*/
public function test_get_stylesheet_directory_filters_apply() {
// Call the function prior to the filter being added.
Expand All @@ -1206,6 +1208,8 @@ function () use ( $expected ) {
* Make sure filters added after the initial call are fired.
*
* @ticket 59847
*
* @covers ::get_template_directory
*/
public function test_get_template_directory_filters_apply() {
// Call the function prior to the filter being added.
Expand All @@ -1225,7 +1229,11 @@ function () use ( $expected ) {
}

/**
* Make sure get_stylesheet_directory uses the correct path when the root theme dir changes.
*
* @ticket 59847
*
* @covers ::get_stylesheet_directory
*/
public function test_get_stylesheet_directory_uses_registered_theme_dir() {
$old_theme = wp_get_theme();
Expand Down Expand Up @@ -1256,7 +1264,11 @@ function () use ( $new_root ) {
}

/**
* Make sure get_template_directory uses the correct path when the root theme dir changes.
*
* @ticket 59847
*
* @covers ::get_template_directory
*/
public function test_get_template_directory_uses_registered_theme_dir() {
$old_theme = wp_get_theme();
Expand Down

0 comments on commit 0b210de

Please sign in to comment.