Skip to:
Content

BuddyPress.org

Changeset 9836


Ignore:
Timestamp:
05/04/2015 02:05:12 PM (9 years ago)
Author:
boonebgorges
Message:

Drop BP tables during unit test install routine.

Fixes #6419.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/install.php

    r9819 r9836  
    4444$wpdb->select( DB_NAME, $wpdb->dbh );
    4545
     46// Drop BuddyPress tables.
     47foreach ( $wpdb->get_col( "SHOW TABLES LIKE '" . $wpdb->prefix . "bp%'" ) as $bp_table ) {
     48    $wpdb->query( "DROP TABLE {$bp_table}" );
     49}
     50
    4651// Install BuddyPress
    4752bp_version_updater();
Note: See TracChangeset for help on using the changeset viewer.