Skip to content

Commit

Permalink
[HttpFoundation][Session] memcached connection should not be closed
Browse files Browse the repository at this point in the history
  • Loading branch information
klandaika committed Nov 2, 2016
1 parent 620ea20 commit 0423d89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Expand Up @@ -71,7 +71,7 @@ public function open($savePath, $sessionName)
*/
public function close()
{
return $this->memcache->close();
return true;
}

/**
Expand Down
Expand Up @@ -56,12 +56,6 @@ public function testOpenSession()

public function testCloseSession()
{
$this->memcache
->expects($this->once())
->method('close')
->will($this->returnValue(true))
;

$this->assertTrue($this->storage->close());
}

Expand Down

0 comments on commit 0423d89

Please sign in to comment.