This commit is contained in:
parent
52d7b706f2
commit
fa7390aedb
@ -1,17 +1,13 @@
|
||||
<?php
|
||||
|
||||
require_once '/root/.composer/vendor/autoload.php';
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
// 手动加载类文件
|
||||
require_once __DIR__ . '/../src/libs/MyWebSocketHandler.php';
|
||||
use App\MyWebSocketHandler;
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use App\MyWebSocketHandler;
|
||||
use Workerman\Connection\TcpConnection;
|
||||
use Workerman\Worker;
|
||||
|
||||
|
||||
|
||||
class MyWebSocketHandlerTest extends TestCase
|
||||
{
|
||||
private $handler;
|
||||
|
Loading…
x
Reference in New Issue
Block a user