summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/SessionServiceProviderTest.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-11-19 12:05:31 +0100
committerGitHub <noreply@github.com>2017-11-19 12:05:31 +0100
commit4779771d089b4182252d279f7a8ea5d7ada211ad (patch)
tree9e7a8b68215a04e61382805537faf2c5582d934e /tests/Unit/Http/SessionServiceProviderTest.php
parent4eedad6c897be81ef13a3fce155fc5408ed71ce5 (diff)
parent8cd17419a8fd4a28a93956b2fcd6850cdb89d58f (diff)
Merge pull request #350 from MyIgel/master
Fixes for unittests
Diffstat (limited to 'tests/Unit/Http/SessionServiceProviderTest.php')
-rw-r--r--tests/Unit/Http/SessionServiceProviderTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Unit/Http/SessionServiceProviderTest.php b/tests/Unit/Http/SessionServiceProviderTest.php
index 0f17a1af..a78b4f72 100644
--- a/tests/Unit/Http/SessionServiceProviderTest.php
+++ b/tests/Unit/Http/SessionServiceProviderTest.php
@@ -109,7 +109,9 @@ class SessionServiceProviderTest extends ServiceProviderTest
*/
private function getSessionMock()
{
+ $sessionStorage = $this->getMockForAbstractClass(StorageInterface::class);
return $this->getMockBuilder(Session::class)
+ ->setConstructorArgs([$sessionStorage])
->setMethods(['start'])
->getMock();
}