chore: update CodeIgniter to latest dev version after 4.1.6

This commit is contained in:
Yassine Doghri 2022-01-04 15:40:27 +00:00
commit 1fc3da139e
29 changed files with 276 additions and 336 deletions

View file

@ -4,21 +4,16 @@ declare(strict_types=1);
namespace Tests\Session;
use Tests\Support\SessionTestCase;
use CodeIgniter\Test\CIUnitTestCase;
use Config\Services;
class ExampleSessionTest extends SessionTestCase
class ExampleSessionTest extends CIUnitTestCase
{
protected function setUp(): void
{
parent::setUp();
}
public function testSessionSimple(): void
{
$this->session->set('logged_in', 123);
$session = Services::session();
$value = $this->session->get('logged_in');
$this->assertSame(123, $value);
$session->set('logged_in', 123);
$this->assertSame(123, $session->get('logged_in'));
}
}