[wp-trac] [WordPress Trac] #37842: Make the tests for `comment_exists()` a little bit faster.

WordPress Trac noreply at wordpress.org
Fri Aug 26 17:06:57 UTC 2016


#37842: Make the tests for `comment_exists()` a little bit faster.
------------------------------+-----------------------------
 Reporter:  Frank Klein       |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  4.4
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 The current test methods in `Tests_Admin_IncludesComment` each create
 their own posts and comments.

 It is possible to run the same tests by using a post with two comments
 attached, which is used by all tests.

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


More information about the wp-trac mailing list