Skip to content

Commit

Permalink
make test phpunit 4.8 compatible?
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Mar 21, 2019
1 parent 08b1dae commit 614a802
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -16,7 +16,6 @@
use Symfony\Component\HttpFoundation\Session\Flash\FlashBag;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
use Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;

/**
* SessionTest.
Expand Down Expand Up @@ -264,7 +263,7 @@ public function testIsEmpty()

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

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

0 comments on commit 614a802

Please sign in to comment.