Make WordPress Core


Ignore:
Timestamp:
02/27/2021 04:54:52 PM (6 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Fix and standardise calls to the setUp() and setUpBeforeClass() methods in the test suite.

The parent methods should always be called before any test-specific functionality is set up, unless there is a specific and documented reason.

See #52625

File:
1 edited

Legend:

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

    r49547 r50449  
    1515         */
    1616        private $registered_block_names = array();
    17 
    18         /**
    19          * Sets up each test method.
    20          */
    21         public function setUp() {
    22                 parent::setUp();
    23         }
    2417
    2518        /**
Note: See TracChangeset for help on using the changeset viewer.