Skip to content

Commit 614a802

Browse files
committed
make test phpunit 4.8 compatible?
1 parent 08b1dae commit 614a802

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/HttpFoundation/Tests/Session/SessionTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Symfony\Component\HttpFoundation\Session\Flash\FlashBag;
1717
use Symfony\Component\HttpFoundation\Session\Session;
1818
use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
19-
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
2019

2120
/**
2221
* SessionTest.
@@ -264,7 +263,7 @@ public function testIsEmpty()
264263

265264
public function testSaveIfNotStarted()
266265
{
267-
$storage = $this->createMock(SessionStorageInterface::class);
266+
$storage = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface')->getMock();
268267
$session = new Session($storage);
269268

270269
$storage->expects($this->once())->method('isStarted')->willReturn(false);

0 commit comments

Comments
 (0)