mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-23 10:32:01 +00:00

- update .devcontainer settings: remove auto-formatting for php + set intelephense as default formatter - remove prettier php plugin as it lacks php 8 support - add captain hook action for checking style pre-commit - fix style with ecs on all files except views
23 lines
395 B
PHP
23 lines
395 B
PHP
<?php
|
|
|
|
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);
|
|
}
|
|
}
|