Skip to content

Commit

Permalink
Bumps phpunit to 10.x (#5802)
Browse files Browse the repository at this point in the history
Co-authored-by: 李铭昕 <[email protected]>
  • Loading branch information
huangdijia and limingxinleo authored Jun 7, 2023
1 parent c189837 commit 1bf2a65
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/SocketTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Hyperf\Socket\Socket;
use HyperfTest\Socket\Stub\DemoStub;
use Mockery;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;
use Swoole\Coroutine\Socket as CoSocket;
use Swoole\Process;
Expand All @@ -25,6 +26,7 @@
* @internal
* @coversNothing
*/
#[CoversNothing]
class SocketTest extends TestCase
{
protected function tearDown(): void
Expand Down Expand Up @@ -63,9 +65,7 @@ public function testSocketRecv()
$this->assertEquals($demo, $res);
}

/**
* @group NonCoroutine
*/
#[\PHPUnit\Framework\Attributes\Group('NonCoroutine')]
public function testProcessStreamSocket()
{
$demo = new DemoStub();
Expand All @@ -87,9 +87,7 @@ public function testProcessStreamSocket()
});
}

/**
* @group NonCoroutine
*/
#[\PHPUnit\Framework\Attributes\Group('NonCoroutine')]
public function testProcessDgramSocket()
{
$demo = new DemoStub();
Expand Down

0 comments on commit 1bf2a65

Please sign in to comment.