summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-08-28 23:23:25 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-08-28 23:23:25 +0200
commit6191bf5339501b1e137769e42047d431b0214a23 (patch)
tree5f110739f610a19a4d82d57ce4c22bf136875c58 /tests
parent9e2975c629265befdd425346ed4080d200343ce4 (diff)
add access control max age header
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/external/NewsAPITest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/external/NewsAPITest.php b/tests/unit/external/NewsAPITest.php
index dae2eb43f..8fbb3eea9 100644
--- a/tests/unit/external/NewsAPITest.php
+++ b/tests/unit/external/NewsAPITest.php
@@ -106,6 +106,7 @@ class NewsAPITest extends ControllerTestUtility {
$this->assertEquals('*', $headers['Access-Control-Allow-Origin']);
$this->assertEquals('PUT, POST, GET, DELETE', $headers['Access-Control-Allow-Methods']);
$this->assertEquals('true', $headers['Access-Control-Allow-Credentials']);
+ $this->assertEquals('1728000', $headers['Access-Control-Max-Age']);
}