Skip to content

Commit 20d43d7

Browse files
committed
refactored to have multiple independent test formats
1 parent 627b69b commit 20d43d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Codeception/Module/Redis.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Codeception\Module;
44

55
use Codeception\Module as CodeceptionModule;
6-
use Codeception\TestCase;
6+
use Codeception\TestInterface;
77
use Codeception\Exception\ModuleException as ModuleException;
88
use Codeception\Lib\Driver\Redis as RedisDriver;
99

@@ -57,15 +57,15 @@ public function _initialize()
5757
}
5858
}
5959

60-
public function _before(TestCase $test)
60+
public function _before(TestInterface $test)
6161
{
6262
if ($this->config['cleanup']) {
6363
$this->cleanup();
6464
}
6565
parent::_before($test);
6666
}
6767

68-
public function _after(TestCase $test)
68+
public function _after(TestInterface $test)
6969
{
7070
parent::_after($test);
7171
}

0 commit comments

Comments
 (0)