https://kotlinlang.org logo
#koin-contributors
Title
# koin-contributors
s

sebastien.rouif

09/11/2020, 10:55 AM
testing
2.2.0-beta-1
, I’m running some tests extending
AutoCloseKoinTest
, I get an error “This class does not have a constructor” to avoid it I need to add
constructor() : super()
so that it passes. This was fine in
2.2.0-alpha-1
a

arnaud.giuliani

09/11/2020, 12:12 PM
yes it’s because we moved
AutoCloseKoinTest
as an interface
but perhaps could have more retrocompatible stuff 🤔
s

sebastien.rouif

09/11/2020, 2:10 PM
thx Arnaud, I couldn’t get it as I was still seeing the abstract class in AndroidStudio
I just did a Cmd + Shift + R and replaced
AutoCloseKoinTest()
with
AutoCloseKoinTest
might be worth putting in the breaking changes
(maybe it’s already there)
I’ll put a new
CloseableKoinTest
interface instead & deprecate
AutoCloseKoinTest
2 Views