1 | <?php |
||
16 | final class CoossionsTest extends TestCase |
||
17 | { |
||
18 | private $coossions = null; |
||
19 | private $sid = 'sid'; |
||
20 | private $secret = 'secret'; |
||
21 | |||
22 | public function setUp() |
||
28 | |||
29 | public function testSetEncryption() |
||
39 | |||
40 | /** |
||
41 | * We must run this test in separate process coz of setcookie headers |
||
42 | * @runInSeparateProcess |
||
43 | */ |
||
44 | public function testSessionHandlerMethods() |
||
54 | |||
55 | // public function testCoossionsHandler() |
||
56 | // { |
||
57 | // $coossions = new CoossionsHandler($this->secret); // any secret word |
||
58 | // $coossions->startSession(); |
||
59 | // // testing that session_starts normally and have defined an empty global array |
||
60 | // $this->assertArraySubset([], $_SESSION); |
||
61 | // } |
||
62 | |||
63 | // public function testExceptions() |
||
64 | // { |
||
65 | // |
||
66 | // } |
||
67 | } |