mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-23 02:22:01 +00:00
25 lines
421 B
PHP
25 lines
421 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Session;
|
|
|
|
use Tests\Support\SessionTestCase;
|
|
|
|
class ExampleSessionTest extends SessionTestCase
|
|
{
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
}
|
|
|
|
public function testSessionSimple(): void
|
|
{
|
|
$this->session->set('logged_in', 123);
|
|
|
|
$value = $this->session->get('logged_in');
|
|
|
|
$this->assertSame(123, $value);
|
|
}
|
|
}
|