mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-09-10 11:57:12 +02:00
Implemented session
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user