mirror of
https://github.com/predis/predis.git
synced 2026-10-14 16:02:50 +00:00
Rename URI parsing method of Predis\Connection\ConnectionParameters.
This commit is contained in:
@@ -136,7 +136,7 @@ class ParametersTest extends StandardTestCase
|
||||
'persistent' => '1',
|
||||
);
|
||||
|
||||
$this->assertSame($expected, ConnectionParameters::parseURI($uri));
|
||||
$this->assertSame($expected, ConnectionParameters::parse($uri));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -154,7 +154,7 @@ class ParametersTest extends StandardTestCase
|
||||
'persistent' => '1',
|
||||
);
|
||||
|
||||
$this->assertSame($expected, ConnectionParameters::parseURI($uri));
|
||||
$this->assertSame($expected, ConnectionParameters::parse($uri));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -164,7 +164,7 @@ class ParametersTest extends StandardTestCase
|
||||
*/
|
||||
public function testParsingURIThrowOnInvalidURI()
|
||||
{
|
||||
ConnectionParameters::parseURI('tcp://invalid:uri');
|
||||
ConnectionParameters::parse('tcp://invalid:uri');
|
||||
}
|
||||
|
||||
// ******************************************************************** //
|
||||
|
||||
Reference in New Issue
Block a user