Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-23 18:04:45 +0300
committerGitHub <noreply@github.com>2018-10-23 18:04:45 +0300
commite0f9257be933ae8605424aaf5a08860cfd4359ff (patch)
tree0d6496f415b72d29a1974aa332daa8c31e1aedbf /tests
parenta9fb21f9fccf14eee9192a01a22a41b94904a729 (diff)
parent1806baaeafa284808cceb1a38ea2e1a9189d0407 (diff)
Merge pull request #11847 from iPaat/Fix/DeleteCookiesThroughClearSiteData
Remove cookies from Clear-Site-Data Header
Diffstat (limited to 'tests')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index f3e6c854808..f2e8d112b64 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -117,7 +117,7 @@ class LoginControllerTest extends TestCase {
->willReturn('/login');
$expected = new RedirectResponse('/login');
- $expected->addHeader('Clear-Site-Data', '"cache", "cookies", "storage", "executionContexts"');
+ $expected->addHeader('Clear-Site-Data', '"cache", "storage", "executionContexts"');
$this->assertEquals($expected, $this->loginController->logout());
}
@@ -147,7 +147,7 @@ class LoginControllerTest extends TestCase {
->willReturn('/login');
$expected = new RedirectResponse('/login');
- $expected->addHeader('Clear-Site-Data', '"cache", "cookies", "storage", "executionContexts"');
+ $expected->addHeader('Clear-Site-Data', '"cache", "storage", "executionContexts"');
$this->assertEquals($expected, $this->loginController->logout());
}