[wp-trac] [WordPress Trac] #31718: Each unit test in /query/conditionals.php is being called twice.

WordPress Trac noreply at wordpress.org
Sat Mar 21 00:01:56 UTC 2015


#31718: Each unit test in /query/conditionals.php is being called twice.
------------------------------+------------------------------
 Reporter:  tyxla             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by tyxla):

 After investigating I discovered that this has is caused by
 `tests/phpunit/tests/query/verboseRewriteRules.php`. Extending
 `Tests_Query_Conditionals` causes its tests to be called twice.

 This file appears to have been created in [changeset:915/tests].

 Since this file contains no tests, it does nothing so it can be removed.

 Not sure if a patch is needed for that, but attaching one anyway.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31718#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list