From ccd177ada6823c27a6408427f19c238fd701c39e Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 6 Dec 2017 16:19:11 -0800 Subject: Store PHP sessions in the database --- tests/units/Validator/UserValidatorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/units/Validator/UserValidatorTest.php') diff --git a/tests/units/Validator/UserValidatorTest.php b/tests/units/Validator/UserValidatorTest.php index 64c76175..ae9c94da 100644 --- a/tests/units/Validator/UserValidatorTest.php +++ b/tests/units/Validator/UserValidatorTest.php @@ -11,7 +11,7 @@ class UserValidatorTest extends Base { $userValidator = new UserValidator($this->container); - $this->container['sessionStorage']->user = array( + $_SESSION['user'] = array( 'id' => 1, 'role' => Role::APP_ADMIN, 'username' => 'admin', -- cgit v1.2.3