Make WordPress Core

Changeset 43116


Ignore:
Timestamp:
05/02/2018 04:10:17 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Correct unit test for wp_user_personal_data_exporter() added in [43055].

user_status is not considered personal data, so the total number of exported user properties is 11.

See #43547.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/user.php

    r43055 r43116  
    16171617
    16181618        // Number of exported user properties.
    1619         $this->assertSame( 12, count( $actual['data'][0]['data'] ) );
     1619        $this->assertSame( 11, count( $actual['data'][0]['data'] ) );
    16201620    }
    16211621}
Note: See TracChangeset for help on using the changeset viewer.