Skip to content

Commit

Permalink
Merge pull request #1481 from samsonasik/test-clean-redishandler
Browse files Browse the repository at this point in the history
RedisHandler test clean up: remove unneeded 2nd parameter in __construct
  • Loading branch information
lonnieezell authored Nov 14, 2018
2 parents 9eef536 + 2623b0b commit 9f3ffdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system/Cache/Handlers/RedisHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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);
Expand Down

0 comments on commit 9f3ffdc

Please sign in to comment.