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

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