Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add ticket references to tests
  • Loading branch information
ockham committed Nov 2, 2023
commit e372252de8071680a41f5f2bd27284d473ab29f8
1 change: 1 addition & 0 deletions tests/phpunit/tests/blocks/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ public function data_register_block_registers_with_args_override_returns_false_w
* @ticket 50263
* @ticket 50328
* @ticket 57585
* @ticket 59797
*/
public function test_block_registers_with_metadata_fixture() {
$result = register_block_type_from_metadata(
Expand Down
1 change: 1 addition & 0 deletions tests/phpunit/tests/blocks/wpBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public function test_constructor_assigns_properties_from_parsed_block() {

/**
* @ticket 49927
* @ticket 59797
*/
public function test_constructor_assigns_block_type_from_registry() {
$block_type_settings = array(
Expand Down
2 changes: 2 additions & 0 deletions tests/phpunit/tests/blocks/wpBlockType.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public function test_set_props() {

/*
* @ticket 55567
* @ticket 59797
* @covers WP_Block_Type::set_props
*/
public function test_core_attributes() {
Expand All @@ -96,6 +97,7 @@ public function test_core_attributes() {

/*
* @ticket 55567
* @ticket 59797
* @covers WP_Block_Type::set_props
*/
public function test_core_attributes_matches_custom() {
Expand Down
2 changes: 2 additions & 0 deletions tests/phpunit/tests/rest-api/rest-block-type-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public function test_get_block_invalid_name() {
* @ticket 47620
* @ticket 57585
* @ticket 59346
* @ticket 59797
*/
public function test_get_item_invalid() {
$block_type = 'fake/invalid';
Expand Down Expand Up @@ -273,6 +274,7 @@ public function test_get_item_invalid() {
* @ticket 47620
* @ticket 57585
* @ticket 59346
* @ticket 59797
*/
public function test_get_item_defaults() {
$block_type = 'fake/false';
Expand Down