summaryrefslogtreecommitdiff
path: root/tests/units/Auth/ApiAccessTokenAuthTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Auth/ApiAccessTokenAuthTest.php')
-rw-r--r--tests/units/Auth/ApiAccessTokenAuthTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Auth/ApiAccessTokenAuthTest.php b/tests/units/Auth/ApiAccessTokenAuthTest.php
index 22852805..337d6039 100644
--- a/tests/units/Auth/ApiAccessTokenAuthTest.php
+++ b/tests/units/Auth/ApiAccessTokenAuthTest.php
@@ -49,7 +49,7 @@ class ApiAccessTokenAuthTest extends Base
public function testAuthenticateWithToken()
{
- $this->container['sessionStorage']->scope = 'API';
+ $_SESSION['scope'] = 'API';
$provider = new ApiAccessTokenAuth($this->container);
$userModel = new UserModel($this->container);