From 8fe8cdd4d99cd748577b1de58ceca22fa7cb7f60 Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Fri, 6 Dec 2024 07:10:17 +0100 Subject: [PATCH] reset useCookie value (#20287) * reset useCookie value see also https://github.com/yiisoft/yii2-docker/issues/174 * removed empty line --- tests/framework/web/session/SessionTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/framework/web/session/SessionTest.php b/tests/framework/web/session/SessionTest.php index 1270aa4afe..7dfe1f17d9 100644 --- a/tests/framework/web/session/SessionTest.php +++ b/tests/framework/web/session/SessionTest.php @@ -65,6 +65,7 @@ class SessionTest extends TestCase $this->assertNotEquals($oldUseCookies, $newUseCookies); $this->assertFalse($newUseCookies); } + $session->setUseCookies($oldUseCookies); $oldGcProbability = $session->getGCProbability(); $session->setGCProbability(100);