[HttpFoundation][Session] memcached connection should not be closed

This commit is contained in:
VJ 2016-11-01 13:31:37 -04:00
parent 620ea20f49
commit 0423d894f4
2 changed files with 1 additions and 7 deletions

View File

@ -71,7 +71,7 @@ class MemcacheSessionHandler implements \SessionHandlerInterface
*/
public function close()
{
return $this->memcache->close();
return true;
}
/**

View File

@ -56,12 +56,6 @@ class MemcacheSessionHandlerTest extends \PHPUnit_Framework_TestCase
public function testCloseSession()
{
$this->memcache
->expects($this->once())
->method('close')
->will($this->returnValue(true))
;
$this->assertTrue($this->storage->close());
}