Skip to content

Commit 0b598d9

Browse files
committed
[redis] rm tests.
1 parent 7794070 commit 0b598d9

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

‎pkg/redis/Tests/RedisConnectionFactoryTest.php‎

Lines changed: 0 additions & 16 deletions
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)