Skip to content

Commit

Permalink
Add comment for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed May 1, 2024
1 parent a141ec7 commit af9366e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/phpunit/tests/blocks/getBlockTemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public function data_get_block_templates_returns_unique_entities() {
/**
* @dataProvider data_get_block_templates_should_respect_posttypes_property
* @ticket 55881
* @ticket 61110
*
* @param string $post_type Post type for query.
* @param array $expected Expected template IDs.
Expand All @@ -204,6 +205,9 @@ public function test_get_block_templates_should_respect_posttypes_property( $pos
/**
* Data provider.
*
* The `custom-hero-template` is intentionally omitted from the theme.json's `customTemplates`.
* See: https://core.trac.wordpress.org/ticket/61110.
*
* @return array
*/
public function data_get_block_templates_should_respect_posttypes_property() {
Expand Down

0 comments on commit af9366e

Please sign in to comment.