From 2623b0b2bb033b6c368408c6bfa6f4fc0a7d9009 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 13 Nov 2018 23:47:51 +0700 Subject: [PATCH] RedisHandler test clean up: remove unneeded 2nd parameter in __construct --- tests/system/Cache/Handlers/RedisHandlerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);