Skip to content

Commit

Permalink
Replaced Swoole\Coroutine\Channel by Hyperf\Engine\Channel. (#4808)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Jun 4, 2022
1 parent 9d52cf5 commit 3571d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/RedisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Hyperf\Context\Context;
use Hyperf\Contract\ConfigInterface;
use Hyperf\Di\Container;
use Hyperf\Engine\Channel as Chan;
use Hyperf\Pool\Channel;
use Hyperf\Pool\Exception\ConnectionException;
use Hyperf\Pool\PoolOption;
Expand Down Expand Up @@ -78,7 +79,7 @@ public function testRedisSelect()

public function testHasAlreadyBeenBoundToAnotherCoroutine()
{
$chan = new \Swoole\Coroutine\Channel(1);
$chan = new Chan(1);
$redis = $this->getRedis();
$ref = new \ReflectionClass($redis);
$method = $ref->getMethod('getConnection');
Expand Down

0 comments on commit 3571d3f

Please sign in to comment.