mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-31 19:40:24 +08:00
Remove useless sub test in NettyHandlerEventTest
This commit is contained in:
parent
c7ff26ab19
commit
e0140c6272
@ -12,7 +12,6 @@ package net.mamoe.mirai.internal.network.impl.netty
|
||||
import kotlinx.coroutines.CompletableDeferred
|
||||
import kotlinx.coroutines.isActive
|
||||
import net.mamoe.mirai.event.Event
|
||||
import net.mamoe.mirai.event.broadcast
|
||||
import net.mamoe.mirai.event.events.BotOfflineEvent
|
||||
import net.mamoe.mirai.event.events.BotOnlineEvent
|
||||
import net.mamoe.mirai.event.events.BotReloginEvent
|
||||
@ -121,12 +120,6 @@ internal class NettyHandlerEventTest : AbstractNettyNHTest() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun testPreconditions() = runBlockingUnit {
|
||||
assertEventBroadcasts<Event>(1) { BotOfflineEvent.Active(bot, null).broadcast() }
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `BotOffline from OK TO CLOSED`() = runBlockingUnit {
|
||||
bot.login()
|
||||
|
Loading…
Reference in New Issue
Block a user