File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -25,31 +25,7 @@ public function testAllMethodsException()
25
25
}
26
26
27
27
$ predisMock ->method ('getOptions ' )
28
- ->willReturn (array ());
29
-
30
- /*
31
- $reflectionPRedis = new ReflectionClass('SplitIO\Component\Cache\Storage\Adapter\PRedis');
32
- $parameters = array(
33
- 'host' => REDIS_HOST,
34
- 'port' => REDIS_PORT,
35
- );
36
- $predisAdapter = new PRedis(array(
37
- 'parameters' => array(
38
- 'scheme' => 'tcp',
39
- 'host' => 'localhost',
40
- 'port' => 6379,
41
- 'timeout' => 881,
42
- 'database' => 0
43
- )
44
- ));
45
- $property = $reflectionPRedis->getProperty('client');
46
- $property->setAccessible(true);
47
- $property->setValue($predisMock, $predisMock);
48
-
49
- // $predisAdapter->client = predisMock;
50
-
51
- $safeRedisWrapper = new SafeRedisWrapper($reflectionPRedis);
52
- */
28
+ ->willReturn (array ());
53
29
54
30
$ predisAdapter = new PRedis (array (
55
31
'parameters ' => array (
You can’t perform that action at this time.
0 commit comments