diff options
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php index 103acf50..aba3bebc 100644 --- a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php +++ b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php | |||
@@ -226,7 +226,7 @@ class ContentProxyTest extends \PHPUnit_Framework_TestCase | |||
226 | 'authors' => ['Jeremy', 'Nico', 'Thomas'], | 226 | 'authors' => ['Jeremy', 'Nico', 'Thomas'], |
227 | 'all_headers' => [ | 227 | 'all_headers' => [ |
228 | 'Cache-Control' => 'no-cache', | 228 | 'Cache-Control' => 'no-cache', |
229 | ] | 229 | ], |
230 | ] | 230 | ] |
231 | ); | 231 | ); |
232 | 232 | ||
@@ -342,11 +342,11 @@ class ContentProxyTest extends \PHPUnit_Framework_TestCase | |||
342 | return [ | 342 | return [ |
343 | 'script and comment' => [ | 343 | 'script and comment' => [ |
344 | '<strong>Script inside:</strong> <!--[if gte IE 4]><script>alert(\'lol\');</script><![endif]--><br />', | 344 | '<strong>Script inside:</strong> <!--[if gte IE 4]><script>alert(\'lol\');</script><![endif]--><br />', |
345 | 'lol' | 345 | 'lol', |
346 | ], | 346 | ], |
347 | 'script' => [ | 347 | 'script' => [ |
348 | '<strong>Script inside:</strong><script>alert(\'lol\');</script>', | 348 | '<strong>Script inside:</strong><script>alert(\'lol\');</script>', |
349 | 'script' | 349 | 'script', |
350 | ], | 350 | ], |
351 | ]; | 351 | ]; |
352 | } | 352 | } |