17 $xssOutputValidator =
new XssOutputValidator();
18 $lines = $xssOutputValidator->getLinesWithXssSensitiveOutput($file);
19 static::assertEquals($expectedResults, $lines);
27 $fixturePath =
__DIR__ .
'/_files/';
29 'xss_safe' => [$fixturePath .
'xss_safe.phtml',
''],
30 'xss_unsafe' => [$fixturePath .
'xss_unsafe.phtml',
'9,10,11,12,13,14,15,16,18,22,23'],
defined('TESTS_BP')||define('TESTS_BP' __DIR__
testGetLinesWithXssSensitiveOutput($file, $expectedResults)
getLinesWithXssSensitiveOutputDataProvider()