mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00

- update CI4 to v4.5.7 - update php and js dependencies to latest - reconfigure lint-staged
19 lines
348 B
PHP
19 lines
348 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Session;
|
|
|
|
use CodeIgniter\Test\CIUnitTestCase;
|
|
|
|
class ExampleSessionTest extends CIUnitTestCase
|
|
{
|
|
public function testSessionSimple(): void
|
|
{
|
|
$session = service('session');
|
|
|
|
$session->set('logged_in', 123);
|
|
$this->assertSame(123, $session->get('logged_in'));
|
|
}
|
|
}
|