From e85b14118316615cc1d649b4a2785a37ac2158a6 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 30 Jun 2020 14:20:37 +0000 Subject: [PATCH] Fix Privacy tests after [48234]. See #50335. git-svn-id: https://develop.svn.wordpress.org/trunk@48236 602fd350-edb4-49c9-b593-d223f7449a82 --- .../tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php b/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php index c65c993bed..36f7945180 100644 --- a/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php +++ b/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php @@ -320,7 +320,7 @@ class Tests_Privacy_WpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestC $request = wp_get_user_request( self::$export_request_id ); $this->assertNotContains( '
', $report_contents ); - $this->assertNotContains( '
', $report_contents ); + $this->assertNotContains( '
', $report_contents ); $this->assertContains( $request->email, $report_contents ); } @@ -396,7 +396,7 @@ class Tests_Privacy_WpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestC $this->assertContains( '
', $report_contents ); $this->assertContains( '

User

', $report_contents ); - $this->assertContains( '
', $report_contents ); + $this->assertContains( '
', $report_contents ); $this->assertContains( $request->email, $report_contents ); }