Make WordPress Core


Ignore:
Timestamp:
09/05/2022 10:25:54 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Tests: Move Site Health unit test class to phpunit/tests/admin/.

Includes:

  • Renaming the test class per the naming conventions.
  • Creating a WP_Site_Health instance in the set_up() method, instead of leaving that to each individual test.

This brings some consistency with the tests for other admin classes, e.g. WP_Community_Events.

Follow-up to [45802], [51639].

See #55652.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.