summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-06-29 13:32:46 +0200
committerGitHub <noreply@github.com>2017-06-29 13:32:46 +0200
commit57c5a15e418dac9491403aba8266a97b7fadc064 (patch)
tree726aa2741fc6c56d23186f37e31c58c7798f6fd5 /tests
parent4a9277d8da12efa3abf03cc92c17dfa4ca964160 (diff)
parent2f87fb6b456fd109c90a5093c31b7a3f62a32040 (diff)
downloadnextcloud-server-57c5a15e418dac9491403aba8266a97b7fadc064.tar.gz
nextcloud-server-57c5a15e418dac9491403aba8266a97b7fadc064.zip
Merge pull request #5490 from nextcloud/add-clear-site-data-header
Add Clear-Site-Data header
Diffstat (limited to 'tests')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index ca32a04efe1..bd2d0143caf 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -95,6 +95,7 @@ class LoginControllerTest extends TestCase {
->willReturn('/login');
$expected = new RedirectResponse('/login');
+ $expected->addHeader('Clear-Site-Data', '"cache", "cookies", "storage", "executionContexts"');
$this->assertEquals($expected, $this->loginController->logout());
}
@@ -124,6 +125,7 @@ class LoginControllerTest extends TestCase {
->willReturn('/login');
$expected = new RedirectResponse('/login');
+ $expected->addHeader('Clear-Site-Data', '"cache", "cookies", "storage", "executionContexts"');
$this->assertEquals($expected, $this->loginController->logout());
}