Rebuilding with CodeIgniter 4
This commit is contained in:
parent
e6dcc92267
commit
3bce4ad0ac
92 changed files with 7304 additions and 380 deletions
18
tests/session/ExampleSessionTest.php
Normal file
18
tests/session/ExampleSessionTest.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
class ExampleSessionTest extends \Tests\Support\SessionTestCase
|
||||
{
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
public function testSessionSimple()
|
||||
{
|
||||
$this->session->set('logged_in', 123);
|
||||
|
||||
$value = $this->session->get('logged_in');
|
||||
|
||||
$this->assertEquals(123, $value);
|
||||
}
|
||||
}
|
Reference in a new issue