We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96271b commit c3f4bd5Copy full SHA for c3f4bd5
composer.json
@@ -27,7 +27,7 @@
27
"friendsofphp/php-cs-fixer": "^2.9",
28
"malukenho/docheader": "^0.1.6",
29
"mockery/mockery": "^1.0",
30
- "phpunit/phpunit": "^7.0"
+ "phpunit/phpunit": "^9.4"
31
},
32
"suggest": {
33
tests/ClientTest.php
@@ -21,11 +21,10 @@
21
*/
22
class ClientTest extends TestCase
23
{
24
- /**
25
- * @expectedException \Hyperf\WebSocketClient\Exception\ConnectException
26
- */
public function testClientConnectFailed()
+ $this->expectException(\Hyperf\WebSocketClient\Exception\ConnectException::class);
+
new Client(new Uri('ws://172.168.1.1:9522'));
}
0 commit comments