Skip to content

Commit

Permalink
Fix Session handling in IntegrationTestCase usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Feb 25, 2018
1 parent 9bd900b commit 7071e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Network/Session.php
Expand Up @@ -218,7 +218,7 @@ public function __construct(array $config = [])
$this->options($config['ini']);
}

if (!empty($config['handler']['engine'])) {
if (!empty($config['handler']['engine']) && !$this->started()) {
$class = $config['handler']['engine'];
unset($config['handler']['engine']);
session_set_save_handler($this->engine($class, $config['handler']), false);
Expand Down

0 comments on commit 7071e01

Please sign in to comment.