File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/Symfony/Component/HttpFoundation/Tests/Session Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Component \HttpFoundation \Session \Flash \FlashBag ;
17
17
use Symfony \Component \HttpFoundation \Session \Session ;
18
18
use Symfony \Component \HttpFoundation \Session \Storage \MockArraySessionStorage ;
19
- use Symfony \Component \HttpFoundation \Session \Storage \SessionStorageInterface ;
20
19
21
20
/**
22
21
* SessionTest.
@@ -264,7 +263,7 @@ public function testIsEmpty()
264
263
265
264
public function testSaveIfNotStarted ()
266
265
{
267
- $ storage = $ this ->createMock ( SessionStorageInterface::class );
266
+ $ storage = $ this ->getMockBuilder ( ' Symfony\Component\HttpFoundation\Session\Storage\ SessionStorageInterface' )-> getMock ( );
268
267
$ session = new Session ($ storage );
269
268
270
269
$ storage ->expects ($ this ->once ())->method ('isStarted ' )->willReturn (false );
You can’t perform that action at this time.
0 commit comments