[wp-trac] [WordPress Trac] #25282: Unit Tests should run in Debug mode
WordPress Trac
noreply at wordpress.org
Thu Sep 12 17:30:02 UTC 2013
#25282: Unit Tests should run in Debug mode
----------------------------+--------------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Unit Tests | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------------+--------------------
Comment (by wonderboymusic):
In [changeset:"25404"]:
{{{
#!CommitTicketReference repository="" revision="25404"
Fix the failing `Tests_Link::test_wp_get_shortlink()` assertion:
* `wp_get_shortlink()` was firing a notice when reading `$post->ID` while
`$post` was null in some cases
* Before the assertions that assume `$GLOBALS['post']` is not set, call
`unset( $GLOBALS['post'] );` - there was global spillage from other tests
See #25282.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25282#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list