Skip to content

Commit 601511b

Browse files
committed
Update privacy test without text/css
1 parent 7686f2a commit 601511b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public function test_html_contents( $groups, array $expected_content = array() )
331331
$expected .= "<html>\n";
332332
$expected .= "<head>\n";
333333
$expected .= "<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />\n";
334-
$expected .= "<style type='text/css'>body { color: black; font-family: Arial, sans-serif; font-size: 11pt; margin: 15px auto; width: 860px; }table { background: #f0f0f0; border: 1px solid #ddd; margin-bottom: 20px; width: 100%; }th { padding: 5px; text-align: left; width: 20%; }td { padding: 5px; }tr:nth-child(odd) { background-color: #fafafa; }.return-to-top { text-align: right; }</style><title>Personal Data Export for {$request->email}</title></head>\n";
334+
$expected .= "<style>body { color: black; font-family: Arial, sans-serif; font-size: 11pt; margin: 15px auto; width: 860px; }table { background: #f0f0f0; border: 1px solid #ddd; margin-bottom: 20px; width: 100%; }th { padding: 5px; text-align: left; width: 20%; }td { padding: 5px; }tr:nth-child(odd) { background-color: #fafafa; }.return-to-top { text-align: right; }</style><title>Personal Data Export for {$request->email}</title></head>\n";
335335
$expected .= "<body>\n";
336336
$expected .= '<h1 id="top">Personal Data Export</h1>';
337337

0 commit comments

Comments
 (0)