castopod/tests/session/ExampleSessionTest.php

25 lines
421 B
PHP
Raw Normal View History

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