diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-04-16 23:46:20 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-04-16 23:46:20 +0200 |
commit | 5a1a056c6d163be9bc8f1e62eb10231bc644c210 (patch) | |
tree | 1a059aeda5bb1566d1aaa3ce1750c05b1afcc470 /tests | |
parent | 2f6eed4f9d4d5b48815138afe2c589cd7f27ae01 (diff) | |
parent | c123dc7de4d9dde46bd31dbf6211704f1b4bb82d (diff) | |
download | nextcloud-server-5a1a056c6d163be9bc8f1e62eb10231bc644c210.tar.gz nextcloud-server-5a1a056c6d163be9bc8f1e62eb10231bc644c210.zip |
Merge pull request #8183 from owncloud/move-security-headers
Move security headers
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; |