diff --git a/core/src/integrationTest/kotlin/com/malinskiy/marathon/scenario/CacheScenarios.kt b/core/src/integrationTest/kotlin/com/malinskiy/marathon/scenario/CacheScenarios.kt index 33260a0c9..9b6fadd71 100644 --- a/core/src/integrationTest/kotlin/com/malinskiy/marathon/scenario/CacheScenarios.kt +++ b/core/src/integrationTest/kotlin/com/malinskiy/marathon/scenario/CacheScenarios.kt @@ -33,10 +33,6 @@ class CacheScenarios : Spek( container.stop() } - afterEachTest { - stopKoin() - } - given("cache is enabled") { group("the first execution of the test") { it("should execute the test") { @@ -110,5 +106,7 @@ private fun TestBody.runMarathonWithOneTest( marathon.runAsync() + stopKoin() + output!! }