Skip to content

Commit

Permalink
reset useCookie value
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Dec 4, 2024
1 parent 1a54384 commit 329b7bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/framework/web/session/SessionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,15 @@ public function testParamsAfterSessionStart()
$this->assertNotEquals($oldUseCookies, $newUseCookies);
$this->assertFalse($newUseCookies);
}
$session->setUseCookies($oldUseCookies);

$oldGcProbability = $session->getGCProbability();
$session->setGCProbability(100);
$newGcProbability = $session->getGCProbability();
$this->assertNotEquals($oldGcProbability, $newGcProbability);
$this->assertEquals(100, $newGcProbability);
$session->setGCProbability($oldGcProbability);

}

/**
Expand Down

0 comments on commit 329b7bf

Please sign in to comment.