mirror of
https://github.com/predis/predis.git
synced 2026-09-11 19:07:30 +00:00
[tests] Fix wrong method in mock.
This commit is contained in:
@@ -126,7 +126,7 @@ class FactoryTest extends PredisTestCase
|
||||
public function testCreateConnectionWithoutInitializationCommands()
|
||||
{
|
||||
$profile = $this->getMock('Predis\Profile\ProfileInterface');
|
||||
$profile->expects($this->never())->method('create');
|
||||
$profile->expects($this->never())->method('createCommand');
|
||||
|
||||
$factory = new Factory($profile);
|
||||
$parameters = new Parameters();
|
||||
|
||||
Reference in New Issue
Block a user