[wp-trac] [WordPress Trac] #25871: Always Clean Install in PHPUnit Tests
WordPress Trac
noreply at wordpress.org
Sat Nov 9 02:14:23 UTC 2013
#25871: Always Clean Install in PHPUnit Tests
-------------------------+------------------
Reporter: bpetty | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.8
Component: Unit Tests | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Comment (by bpetty):
By the way, the reason I ever looked into this was because I believe this
is the reason why @nacin was
[https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
dev&day=2013-09-13&sort=asc#m687762 having so much trouble reproducing a
test failure] just back in Sept. The problem we were investigating was a
failure in wp_guess_url() (#25317) which was only used during
installation, and the resulting values stored in the DB were the values
triggering test failures with canonical URL tests. If the unit tests were
recently run successfully before it was broken, they would continue
running successfully even with the broken version until you cleared the
database and ran the tests again, or changed your configuration.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25871#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list