Skip to content

Commit 9982126

Browse files
committed
refactored to have multiple independent test formats
1 parent ba21238 commit 9982126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/AMQP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
use Codeception\Module as CodeceptionModule;
55
use Codeception\Exception\ModuleException as ModuleException;
6-
use Codeception\TestCase;
6+
use Codeception\TestInterface;
77
use Exception;
88
use PhpAmqpLib\Channel\AMQPChannel;
99
use PhpAmqpLib\Connection\AMQPConnection;
@@ -94,7 +94,7 @@ public function _initialize()
9494
}
9595
}
9696

97-
public function _before(TestCase $test)
97+
public function _before(TestInterface $test)
9898
{
9999
if ($this->config['cleanup']) {
100100
$this->cleanup();

0 commit comments

Comments
 (0)