We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff572f6 commit 1e8b87cCopy full SHA for 1e8b87c
1 file changed
tests/system/Session/Handlers/Database/RedisHandlerTest.php
@@ -117,6 +117,19 @@ public function testOpen()
117
$this->assertTrue($handler->open($this->sessionSavePath, $this->sessionName));
118
}
119
120
+ public function testOpenWithDefaultProtocol()
121
+ {
122
+ $default = $this->sessionSavePath;
123
+
124
+ $this->sessionSavePath = '127.0.0.1:6379';
125
126
+ $handler = $this->getInstance();
127
+ $this->assertTrue($handler->open($this->sessionSavePath, $this->sessionName));
128
129
+ // Rollback to default
130
+ $this->sessionSavePath = $default;
131
+ }
132
133
public function testWrite()
134
{
135
$handler = $this->getInstance();
0 commit comments