We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 369773b commit 661856aCopy full SHA for 661856a
1 file changed
Tests/FunctionsTest.php
@@ -5,8 +5,13 @@
5
use Koded\Stdlib\Config;
6
use PHPUnit\Framework\TestCase;
7
8
+
9
class FunctionsTest extends TestCase
10
{
11
+ public function test_session_function_singleton()
12
+ {
13
+ $this->assertSame(session(), session());
14
+ }
15
16
public function test_should_throw_exception_on_invalid_handler_class()
17
@@ -45,6 +50,7 @@ public function test_should_register_session_cookie()
45
50
'domain' => '',
46
51
'secure' => true,
47
52
'httponly' => true,
53
+ 'samesite' => '',
48
54
], session_get_cookie_params());
49
55
}
56
0 commit comments