diff --git a/tests/system/Cache/Handlers/RedisHandlerTest.php b/tests/system/Cache/Handlers/RedisHandlerTest.php index ab3896f39e22..10560b3e5687 100644 --- a/tests/system/Cache/Handlers/RedisHandlerTest.php +++ b/tests/system/Cache/Handlers/RedisHandlerTest.php @@ -60,7 +60,7 @@ public function setUp() $this->config = new \Config\Cache(); - $this->redisHandler = new RedisHandler($this->config, '127.0.0.1'); + $this->redisHandler = new RedisHandler($this->config); if (! $this->redisHandler->isSupported()) { $this->markTestSkipped('Not support redis'); @@ -84,7 +84,7 @@ public function testNew() public function testDestruct() { - $this->redisHandler = new RedisHandler($this->config, '127.0.0.1'); + $this->redisHandler = new RedisHandler($this->config); $this->redisHandler->initialize(); $this->assertInstanceOf(RedisHandler::class, $this->redisHandler);