mirror of
https://github.com/Yannick7777/codeigniter-setup-script.git
synced 2025-06-26 06:05:22 +02:00
17 lines
323 B
PHP
17 lines
323 B
PHP
<?php
|
|
|
|
use CodeIgniter\Test\CIUnitTestCase;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class ExampleSessionTest extends CIUnitTestCase
|
|
{
|
|
public function testSessionSimple(): void
|
|
{
|
|
$session = service('session');
|
|
|
|
$session->set('logged_in', 123);
|
|
$this->assertSame(123, $session->get('logged_in'));
|
|
}
|
|
}
|