mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-02 07:22:01 +00:00

- update CI process to include quality stage (tests + code review) - add captainhook to install git pre-commit & pre-push hooks - remove .devcontainer Dockerfile to use project's docker-compose services: all services can now be started automatically using vscode - update docs/setup-development.md
22 lines
393 B
PHP
22 lines
393 B
PHP
<?php
|
|
|
|
namespace Tests\Session;
|
|
|
|
use Tests\Support\SessionTestCase;
|
|
class ExampleSessionTest extends SessionTestCase
|
|
{
|
|
public function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
}
|
|
|
|
public function testSessionSimple(): void
|
|
{
|
|
$this->session->set('logged_in', 123);
|
|
|
|
$value = $this->session->get('logged_in');
|
|
|
|
$this->assertEquals(123, $value);
|
|
}
|
|
}
|