From 8ddb8efff40ebe372d78758e6bb83f7a5954f6dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 12 Dec 2019 20:18:04 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=90=9B=20Remove=20useless=20double=20plugi?= =?utf8?q?n=20start=20in=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt b/src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt index b40df75..c3f1cd7 100644 --- a/src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/main/SonePluginTest.kt @@ -115,7 +115,6 @@ class SonePluginTest { val eventBus = it.getInstance(EventBus::class.java) eventBus.register(FirstStartListener(firstStartReceived)) } - sonePlugin.runPlugin(pluginRespirator) assertThat(firstStartReceived.get(), equalTo(true)) } @@ -128,7 +127,6 @@ class SonePluginTest { val eventBus = it.getInstance(EventBus::class.java) eventBus.register(FirstStartListener(firstStartReceived)) } - sonePlugin.runPlugin(pluginRespirator) assertThat(firstStartReceived.get(), equalTo(false)) } } @@ -149,7 +147,6 @@ class SonePluginTest { val eventBus = it.getInstance(EventBus::class.java) eventBus.register(ConfigNotReadListener(configNotReadReceived)) } - sonePlugin.runPlugin(pluginRespirator) assertThat(configNotReadReceived.get(), equalTo(true)) } } @@ -162,7 +159,6 @@ class SonePluginTest { val eventBus = it.getInstance(EventBus::class.java) eventBus.register(ConfigNotReadListener(configNotReadReceived)) } - sonePlugin.runPlugin(pluginRespirator) assertThat(configNotReadReceived.get(), equalTo(false)) } @@ -175,7 +171,6 @@ class SonePluginTest { val eventBus = it.getInstance(EventBus::class.java) eventBus.register(ConfigNotReadListener(configNotReadReceived)) } - sonePlugin.runPlugin(pluginRespirator) assertThat(configNotReadReceived.get(), equalTo(false)) } } @@ -194,7 +189,6 @@ class SonePluginTest { val eventBus = it.getInstance(EventBus::class.java) eventBus.register(StartupListener { startupReceived.set(true) }) } - sonePlugin.runPlugin(pluginRespirator) assertThat(startupReceived.get(), equalTo(true)) } -- 2.7.4