summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-09 21:22:34 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-09 21:22:34 +0200
commitab4607f59958f9fa2845870c6ca880b854dce6e3 (patch)
treea5ce140174d25792c67218a6e3651abdeccb68a4 /tests/unit
parent1119e35be7c4410032e5422d7301e6dfa30d6211 (diff)
version bump2.002
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/controller/ApiControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/controller/ApiControllerTest.php b/tests/unit/controller/ApiControllerTest.php
index 5693ac3aa..6f4dd1e05 100644
--- a/tests/unit/controller/ApiControllerTest.php
+++ b/tests/unit/controller/ApiControllerTest.php
@@ -115,7 +115,7 @@ class ApiControllerTest 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('false', $headers['Access-Control-Allow-Credentials']);
$this->assertEquals('Authorization, Content-Type', $headers['Access-Control-Allow-Headers']);
$this->assertEquals('1728000', $headers['Access-Control-Max-Age']);
}