Skip to content

Commit 08b7aca

Browse files
committed
[redis] rm tests.
1 parent 7f6eb59 commit 08b7aca

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

pkg/redis/Tests/RedisConnectionFactoryTest.php

-16
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,4 @@ public function testShouldCreateLazyContext()
2929
$this->assertAttributeEquals(null, 'redis', $context);
3030
$this->assertInternalType('callable', $this->readAttribute($context, 'redisFactory'));
3131
}
32-
33-
public function testShouldUsePredisInstanceByDefault()
34-
{
35-
$factory = new RedisConnectionFactory('redis:?lazy=1');
36-
37-
$context = $factory->createContext();
38-
$this->assertInstanceOf(PRedis::class, $context->getRedis());
39-
}
40-
41-
public function testShouldUsePredisInstanceSetExplicitly()
42-
{
43-
$factory = new RedisConnectionFactory('redis+predis:?lazy=1');
44-
45-
$context = $factory->createContext();
46-
$this->assertInstanceOf(PRedis::class, $context->getRedis());
47-
}
4832
}

0 commit comments

Comments
 (0)