Skip to content
Permalink
Browse files

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
  • Loading branch information...
SergeyBiryukov committed Aug 20, 2019
1 parent 31a6309 commit d471151f4567019320aa97281e943c8c345aff24
Showing with 0 additions and 2 deletions.
  1. +0 −2 tests/phpunit/tests/user.php
@@ -968,8 +968,6 @@ public function test_wp_insert_user_with_invalid_user_id() {
* @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();

0 comments on commit d471151

Please sign in to comment.
You can’t perform that action at this time.