Make WordPress Core

Changeset 56479


Ignore:
Timestamp:
08/27/2023 08:32:16 PM (3 years ago)
Author:
johnbillion
Message:

Editor: Replace some accidental double setting up of tests with proper tearing down.

See #55505, #58955

Location:
trunk/tests/phpunit/tests/block-supports
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/block-supports/border.php

    r54889 r56479  
    1919                unregister_block_type( $this->test_block_name );
    2020                $this->test_block_name = null;
    21                 parent::set_up();
     21                parent::tear_down();
    2222        }
    2323
  • trunk/tests/phpunit/tests/block-supports/colors.php

    r54889 r56479  
    1919                unregister_block_type( $this->test_block_name );
    2020                $this->test_block_name = null;
    21                 parent::set_up();
     21                parent::tear_down();
    2222        }
    2323
  • trunk/tests/phpunit/tests/block-supports/shadow.php

    r56046 r56479  
    1919                unregister_block_type( $this->test_block_name );
    2020                $this->test_block_name = null;
    21                 parent::set_up();
     21                parent::tear_down();
    2222        }
    2323
  • trunk/tests/phpunit/tests/block-supports/spacing.php

    r54889 r56479  
    1919                unregister_block_type( $this->test_block_name );
    2020                $this->test_block_name = null;
    21                 parent::set_up();
     21                parent::tear_down();
    2222        }
    2323
Note: See TracChangeset for help on using the changeset viewer.