Skip to content
Snippets Groups Projects
Forked from Ad Aures / Castopod
749 commits behind the upstream repository.
ExampleSessionTest.php 421 B
<?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);
    }
}