summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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']);
}