This commit is contained in:
Marcel Pociot
2021-06-21 22:28:52 +02:00
parent c81cca6e0e
commit 3a9d4fb6b6
2 changed files with 7 additions and 1 deletions

View File

@@ -23,7 +23,7 @@
"require-dev": { "require-dev": {
"cboden/ratchet": "^0.4.3", "cboden/ratchet": "^0.4.3",
"clue/block-react": "^1.4", "clue/block-react": "^1.4",
"clue/buzz-react": "^2.7", "clue/buzz-react": "^2.9",
"clue/reactphp-sqlite": "dev-modular-worker-for-phar-support", "clue/reactphp-sqlite": "dev-modular-worker-for-phar-support",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"guzzlehttp/psr7": "^1.7", "guzzlehttp/psr7": "^1.7",

View File

@@ -149,6 +149,12 @@ class AdminTest extends TestCase
'username' => 'secret', 'username' => 'secret',
]; ];
try {
$this->serverFactory->getSocket()->close();
} catch (\Throwable $e) {
//
}
$this->serverFactory = new Factory(); $this->serverFactory = new Factory();
$this->serverFactory->setLoop($this->loop) $this->serverFactory->setLoop($this->loop)