CI3 => CI4

This commit is contained in:
2022-11-27 14:44:55 +08:00
parent 5ae91cce8b
commit 76ba89b3b2
2075 changed files with 230044 additions and 69688 deletions
@@ -0,0 +1,18 @@
<?php
use CodeIgniter\Test\CIUnitTestCase;
use Config\Services;
/**
* @internal
*/
final class ExampleSessionTest extends CIUnitTestCase
{
public function testSessionSimple()
{
$session = Services::session();
$session->set('logged_in', 123);
$this->assertSame(123, $session->get('logged_in'));
}
}