From f20688c179b6f79ebba4ef3665f1d78b81d960e5 Mon Sep 17 00:00:00 2001 From: oleibman <10341515+oleibman@users.noreply.github.com> Date: Wed, 27 Mar 2024 14:06:34 -0700 Subject: [PATCH] Typo In Previous PR --- tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php b/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php index 1d8bcbb4b2..4bc99e65e4 100644 --- a/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php +++ b/tests/PhpSpreadsheetTests/Writer/Html/XssVulnerabilityTest.php @@ -72,7 +72,7 @@ public function testXssInFontName(): void $writer = new Html($spreadsheet); $verify = $writer->generateHtmlAll(); // Ensure that executable js has been stripped - self::assertStringNotContainsString($expected, $used); + self::assertStringNotContainsString($used, $verify); self::assertStringContainsString($expected, $verify); $spreadsheet->disconnectWorksheets(); }