[wp-trac] [WordPress Trac] #17749: Faster and phpunit runner-compatible unit tests

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 10 09:11:33 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        |
-----------------------------+-------------------------

Comment (by mrtorrent):

 @scribu good point. The only alternative that I can see would be adding
 `$GLOBALS['table_prefix'] = $table_prefix;` before `wp_set_wpdb_vars();`
 in wp-settings.php. How does that sound?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17749#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list