[wp-trac] [WordPress Trac] #29545: Update Tests_Paginate_Links for PHPUnit 4.2

WordPress Trac noreply at wordpress.org
Fri Sep 5 19:16:25 UTC 2014


#29545: Update Tests_Paginate_Links for PHPUnit 4.2
------------------------------+-----------------------------
 Reporter:  jeffstieler       |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 PHPUnit 4.2 deprecated {{{assertTag}}}.  See
 [https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-
 for-PHPUnit-4.2.0]

 I've changed the {{{test_paginate_links_base_value}}} case to use
 {{{DOMDocument}}} instead.

 An alternate solution could be to have {{{WP_UnitTestCase}}} inherit from
 [https://github.com/phpunit/phpunit-dom-assertions
 PHPUnit_Framework_DOMTestCase].

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


More information about the wp-trac mailing list