Changeset 36478 for trunk/tests/phpunit/tests/db.php
- Timestamp:
- 02/05/2016 01:05:47 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/db.php
r36433 r36478 61 61 $this->assertGreaterThan( 0, $var ); 62 62 63 if ( $wpdb->use_mysqli ) { 64 mysqli_close( $wpdb->dbh ); 65 } else { 66 mysql_close( $wpdb->dbh ); 67 } 68 unset( $wpdb->dbh ); 63 $wpdb->close(); 69 64 70 65 $var = $wpdb->get_var( "SELECT ID FROM $wpdb->users LIMIT 1" );
Note: See TracChangeset
for help on using the changeset viewer.