This commit is contained in:
2022-11-28 13:24:51 +01:00
commit 5ec9cbd698
102 changed files with 6487 additions and 0 deletions

View File

@@ -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'));
}
}