Implemented session

This commit is contained in:
Kevin Frantz
2018-07-14 17:18:41 +02:00
parent b11cea5337
commit 67f6ea76eb
2 changed files with 41 additions and 20 deletions

View File

@@ -40,5 +40,9 @@ class CoreTest extends TestCase
public function testUser():void{
$this->assertEquals($this->user, $this->core->getUser());
}
public function testSession():void{
$this->assertEquals($this->core->getUser(), $_SESSION['user']);
}
}