[wp-trac] [WordPress Trac] #34240: Backward compatibility broken for unit test lib
WordPress Trac
noreply at wordpress.org
Sat Oct 10 07:56:15 UTC 2015
#34240: Backward compatibility broken for unit test lib
-------------------------------+------------------------------
Reporter: marcello.colacino | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):
* component: General => Bootstrap/Load
Old description:
> It's no more possible to use the unit test lib with any wp version older
> than the trunk one.
> Here is the error I have while I try to run my tests
>
> {{{
> Class 'WP_REST_Server' not found in /private/tmp/wordpress-tests-
> lib/includes/spy-rest-server.php on line 3
> }}}
>
> The issue is related to this commit
> https://core.trac.wordpress.org/changeset/34928
>
> A patch is attached to solve the issue.
New description:
It's no more possible to use the unit test lib with any wp version older
than the trunk one.
Here is the error I have while I try to run my tests
{{{
Class 'WP_REST_Server' not found in /private/tmp/wordpress-tests-
lib/includes/spy-rest-server.php on line 3
}}}
The issue is related to this commit: [34928]
A patch is attached to solve the issue.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34240#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list