Fix Privacy tests after [48234].

See #50335.


git-svn-id: https://develop.svn.wordpress.org/trunk@48236 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2020-06-30 14:20:37 +00:00
parent 90e840f9db
commit e85b141183
1 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ class Tests_Privacy_WpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestC
$request = wp_get_user_request( self::$export_request_id ); $request = wp_get_user_request( self::$export_request_id );
$this->assertNotContains( '<div id="table_of_contents">', $report_contents ); $this->assertNotContains( '<div id="table_of_contents">', $report_contents );
$this->assertNotContains( '<div class="return_to_top">', $report_contents ); $this->assertNotContains( '<div class="return-to-top">', $report_contents );
$this->assertContains( $request->email, $report_contents ); $this->assertContains( $request->email, $report_contents );
} }
@ -396,7 +396,7 @@ class Tests_Privacy_WpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestC
$this->assertContains( '<div id="table_of_contents">', $report_contents ); $this->assertContains( '<div id="table_of_contents">', $report_contents );
$this->assertContains( '<h2 id="user-user">User</h2>', $report_contents ); $this->assertContains( '<h2 id="user-user">User</h2>', $report_contents );
$this->assertContains( '<div class="return_to_top">', $report_contents ); $this->assertContains( '<div class="return-to-top">', $report_contents );
$this->assertContains( $request->email, $report_contents ); $this->assertContains( $request->email, $report_contents );
} }