[wp-trac] [WordPress Trac] #34240: Backward compatibility broken for unit test lib

WordPress Trac noreply at wordpress.org
Sat Oct 10 07:52:27 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:  General            |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34240>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list