From fce5f5085fbb6573652e95a8d3943789a2f809fb Mon Sep 17 00:00:00 2001 From: Andrew Brower Date: Tue, 24 Sep 2024 19:48:57 +0000 Subject: [PATCH] fix(velocity): mock executor service maybe --- .../src/test/java/helper/MockedVelocityServer.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mccoroutine-velocity-core/src/test/java/helper/MockedVelocityServer.kt b/mccoroutine-velocity-core/src/test/java/helper/MockedVelocityServer.kt index 0a50e46..b3689f7 100644 --- a/mccoroutine-velocity-core/src/test/java/helper/MockedVelocityServer.kt +++ b/mccoroutine-velocity-core/src/test/java/helper/MockedVelocityServer.kt @@ -104,10 +104,7 @@ class MockedVelocityServer { return Optional.of(this) } - // not used in our tests :3 (for now) - override fun getExecutorService(): ExecutorService { - TODO("Not yet implemented") - } + override fun getExecutorService(): ExecutorService = Executors.newSingleThreadExecutor() } /**