diff options
Diffstat (limited to 'tests/units/Auth/ReverseProxyAuthTest.php')
-rw-r--r-- | tests/units/Auth/ReverseProxyAuthTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Auth/ReverseProxyAuthTest.php b/tests/units/Auth/ReverseProxyAuthTest.php index cdbc247d..10d0841e 100644 --- a/tests/units/Auth/ReverseProxyAuthTest.php +++ b/tests/units/Auth/ReverseProxyAuthTest.php @@ -54,7 +54,7 @@ class ReverseProxyAuthTest extends Base ->method('getRemoteUser') ->will($this->returnValue('admin')); - $this->container['sessionStorage']->user = array( + $_SESSION['user'] = array( 'username' => 'admin' ); @@ -69,7 +69,7 @@ class ReverseProxyAuthTest extends Base ->method('getRemoteUser') ->will($this->returnValue('foobar')); - $this->container['sessionStorage']->user = array( + $_SESSION['user'] = array( 'username' => 'admin' ); |