Use IRCClient.quit() instead of raw queueing
This commit is contained in:
@@ -52,7 +52,7 @@ class IrcClientTest {
|
||||
fun shutdown() =
|
||||
runBlocking {
|
||||
logger.info { "Closing server." }
|
||||
client.queueMessage(Message.Die())
|
||||
client.quit("")
|
||||
client.waitForNext<ServerMessage.Notice>()
|
||||
processes.forEach { it.destroy() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user