Removed debugging code, tweaks to tests
This commit is contained in:
@@ -3,11 +3,14 @@
|
||||
namespace NoccyLabs\React\WebSocket\Group;
|
||||
|
||||
use NoccyLabs\React\WebSocket\WebSocketConnection;
|
||||
use NoccyLabs\React\WebSocket\WebSocketProtocol;
|
||||
use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use React\Http\Message\ServerRequest;
|
||||
use React\Stream\ThroughStream;
|
||||
|
||||
#[CoversClass(ConnectionGroup::class)]
|
||||
#[CoversClass(WebSocketConnection::class)]
|
||||
#[CoversClass(WebSocketProtocol::class)]
|
||||
class ConnectionGroupTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
|
||||
@@ -49,4 +52,4 @@ class ConnectionGroupTest extends \PHPUnit\Framework\TestCase
|
||||
$this->assertEquals(3, count($r));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -6,6 +6,7 @@ use PHPUnit\Framework\Attributes\CoversClass;
|
||||
use React\Http\Message\ServerRequest;
|
||||
|
||||
#[CoversClass(WebSocketMiddleware::class)]
|
||||
#[CoversClass(WebSocketConnection::class)]
|
||||
class WebSocketMiddlewareTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
|
||||
@@ -54,4 +55,4 @@ class InvokableDummy
|
||||
public function test()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user