diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-04-13 12:48:16 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-04-13 12:48:16 +0200 |
commit | b04d95b1160673dbaa80ce214f22e931e8c93178 (patch) | |
tree | 7daf9d1e4667dd908ab02c646afb0d233b72f295 /tests | |
parent | a2a850dd91664cbfeba50186d5219d90d62eadd2 (diff) | |
download | nextcloud-server-b04d95b1160673dbaa80ce214f22e931e8c93178.tar.gz nextcloud-server-b04d95b1160673dbaa80ce214f22e931e8c93178.zip |
Remove uneeded usages of nosniff
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/appframework/http/JSONResponseTest.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/lib/appframework/http/JSONResponseTest.php b/tests/lib/appframework/http/JSONResponseTest.php index b9b7c7d6382..fbaae1b9227 100644 --- a/tests/lib/appframework/http/JSONResponseTest.php +++ b/tests/lib/appframework/http/JSONResponseTest.php @@ -79,13 +79,6 @@ class JSONResponseTest extends \PHPUnit_Framework_TestCase { $this->assertEquals($expected, $this->json->render()); } - - public function testShouldHaveXContentHeaderByDefault() { - $headers = $this->json->getHeaders(); - $this->assertEquals('nosniff', $headers['X-Content-Type-Options']); - } - - public function testConstructorAllowsToSetData() { $data = array('hi'); $code = 300; |