diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-28 23:23:25 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-28 23:23:25 +0200 |
commit | 6191bf5339501b1e137769e42047d431b0214a23 (patch) | |
tree | 5f110739f610a19a4d82d57ce4c22bf136875c58 /tests/unit/external | |
parent | 9e2975c629265befdd425346ed4080d200343ce4 (diff) |
add access control max age header
Diffstat (limited to 'tests/unit/external')
-rw-r--r-- | tests/unit/external/NewsAPITest.php | 1 |
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']); } |