From 65df92173a779a1952bbb9fe70b7e8b5982f2e54 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 2 May 2018 04:10:17 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/user.php b/tests/phpunit/tests/user.php index 7e018e64d8..47ae462107 100644 --- a/tests/phpunit/tests/user.php +++ b/tests/phpunit/tests/user.php @@ -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'] ) ); } }