Docs: Add @ticket references to some WP_Theme_JSON tests.

Follow-up to [50973], [51054].

See #52628, #53461.

git-svn-id: https://develop.svn.wordpress.org/trunk@51281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-06-30 15:58:51 +00:00
parent 40b5523fe5
commit f6760ece8e

View File

@ -64,6 +64,9 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
$this->assertSameSetsWithIndex( $expected, $actual );
}
/**
* @ticket 53397
*/
function test_get_settings_presets_are_keyed_by_origin() {
$core_origin = new WP_Theme_JSON(
array(
@ -189,6 +192,9 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
$this->assertEqualSetsWithIndex( $expected_no_origin, $actual_no_origin );
}
/**
* @ticket 53175
*/
function test_get_stylesheet() {
$theme_json = new WP_Theme_JSON(
array(
@ -307,6 +313,9 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
);
}
/**
* @ticket 52991
*/
function test_get_stylesheet_preset_classes_work_with_compounded_selectors() {
$theme_json = new WP_Theme_JSON(
array(
@ -334,6 +343,9 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
);
}
/**
* @ticket 53175
*/
function test_get_stylesheet_preset_rules_come_after_block_rules() {
$theme_json = new WP_Theme_JSON(
array(
@ -374,6 +386,9 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
);
}
/**
* @ticket 53175
*/
public function test_get_stylesheet_preset_values_are_marked_as_important() {
$theme_json = new WP_Theme_JSON(
array(