Skip to content

Commit

Permalink
create unit test case from issue #15
Browse files Browse the repository at this point in the history
  • Loading branch information
1ma committed Jun 25, 2021
1 parent 2940cc3 commit 35efbf5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/SavePathParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public function savePathsProvider()
'tcp://localhost:1234?prefix=APP_SESSIONS:&auth=secret&timeout=1.4&database=3',
['localhost', 1234, 1.4, 'APP_SESSIONS:', 'secret', 3]
],
'issue #15' => [
'tcp://127.0.0.1:6379?database=2',
['127.0.0.1', SavePathParser::DEFAULT_PORT, SavePathParser::DEFAULT_TIMEOUT, SavePathParser::DEFAULT_PREFIX, SavePathParser::DEFAULT_AUTH, 2]
],
];
}
}

0 comments on commit 35efbf5

Please sign in to comment.