castopod/tests/session/ExampleSessionTest.php
Yassine Doghri 3359abf3fc fix: remove exit function from podcast:import command to allow for episodes:compute-downloads to run
- update CI4 to v4.5.7
- update php and js dependencies to latest
- reconfigure lint-staged
2025-01-08 12:11:18 +00:00

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