diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-29 10:14:01 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-05-31 14:00:15 +0200 |
commit | 38a04dee3459c040ff47aa5a62307efe72bcae00 (patch) | |
tree | 35ad2c95a1159871bf9b95b248ed6727ec8818d5 /tests | |
parent | f0378b4d7c7b8c971239445f3a2a1535abab7d00 (diff) | |
download | wallabag-38a04dee3459c040ff47aa5a62307efe72bcae00.tar.gz wallabag-38a04dee3459c040ff47aa5a62307efe72bcae00.tar.zst wallabag-38a04dee3459c040ff47aa5a62307efe72bcae00.zip |
CS
Diffstat (limited to 'tests')
-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 | } |