summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-foundation/Tests/Session/SessionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-foundation/Tests/Session/SessionTest.php')
-rw-r--r--vendor/symfony/http-foundation/Tests/Session/SessionTest.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/symfony/http-foundation/Tests/Session/SessionTest.php b/vendor/symfony/http-foundation/Tests/Session/SessionTest.php
index e75b3321b0..afa00fc7c3 100644
--- a/vendor/symfony/http-foundation/Tests/Session/SessionTest.php
+++ b/vendor/symfony/http-foundation/Tests/Session/SessionTest.php
@@ -260,14 +260,4 @@ class SessionTest extends TestCase
$flash->get('hello');
$this->assertTrue($this->session->isEmpty());
}
-
- public function testSaveIfNotStarted()
- {
- $storage = $this->getMockBuilder('Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface')->getMock();
- $session = new Session($storage);
-
- $storage->expects($this->once())->method('isStarted')->willReturn(false);
- $storage->expects($this->never())->method('save');
- $session->save();
- }
}