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. git-svn-id: https://develop.svn.wordpress.org/trunk@43116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
095c047ced
commit
65df92173a
|
@ -1616,6 +1616,6 @@ class Tests_User extends WP_UnitTestCase {
|
|||
$this->assertSame( 1, count( $actual['data'] ) );
|
||||
|
||||
// Number of exported user properties.
|
||||
$this->assertSame( 12, count( $actual['data'][0]['data'] ) );
|
||||
$this->assertSame( 11, count( $actual['data'][0]['data'] ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue