Make WordPress Core


Ignore:
Timestamp:
02/27/2021 04:54:52 PM (4 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/tests/dbdelta.php

    r48937 r50449  
    8080        );
    8181
     82        // This has to be called after the `CREATE TABLE` above as the `_create_temporary_tables` filter
     83        // causes it to create a temporary table, and a temporary table cannot use a FULLTEXT index.
    8284        parent::setUp();
    8385    }
Note: See TracChangeset for help on using the changeset viewer.