mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Tests: Remove $wpdb global reference from test_wp_insert_user_with_empty_data().
See #47902. git-svn-id: https://develop.svn.wordpress.org/trunk@45859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -968,8 +968,6 @@ class Tests_User extends WP_UnitTestCase {
|
||||
* @ticket 47902
|
||||
*/
|
||||
public function test_wp_insert_user_with_empty_data() {
|
||||
global $wpdb;
|
||||
|
||||
add_filter( 'wp_pre_insert_user_data', '__return_empty_array' );
|
||||
|
||||
$u = self::factory()->user->create();
|
||||
|
||||
Reference in New Issue
Block a user