[wp-trac] [WordPress Trac] #17749: Faster and phpunit runner-compatible unit tests
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 22 22:42:57 UTC 2011
#17749: Faster and phpunit runner-compatible unit tests
-----------------------------+-------------------------
Reporter: nbachiyski | Owner: nbachiyski
Type: feature request | Status: reopened
Priority: normal | Milestone: 3.3
Component: Unit Tests | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+-------------------------
Changes (by scribu):
* keywords: has-patch close => has-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
Getting an error when running phpunit
{{{
PHP Fatal error: Call to a member function is_rtl() on a non-object in
/home/cristi/www/localhost/wp/core/wp-includes/locale.php on line 348
}}}
Fixed in [attachment:17749.diff] by explicitly globalizing $wp_locale.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17749#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list