Make WordPress Core


Ignore:
Timestamp:
06/25/2021 10:38:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Tests: Correct PHPUnit version requirement in tests using ::createPartialMock().

The method was introduced in PHPUnit 5.5, not 6.0.

Follow-up to [48945], [48947] [51226].

See #52625.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-server.php

    r51226 r51234  
    15721572        /**
    15731573         * @ticket 50244
    1574          * @requires PHPUnit >= 6
     1574         * @requires PHPUnit >= 5.5
    15751575         */
    15761576        public function test_callbacks_are_not_executed_if_request_validation_fails() {
Note: See TracChangeset for help on using the changeset viewer.