diff --git a/app/src/test/java/org/session/libsignal/utilities/SnodeTest.kt b/app/src/test/java/org/session/libsignal/utilities/SnodeTest.kt index aed54fd0d3..8a1aaa1301 100644 --- a/app/src/test/java/org/session/libsignal/utilities/SnodeTest.kt +++ b/app/src/test/java/org/session/libsignal/utilities/SnodeTest.kt @@ -5,8 +5,9 @@ import org.hamcrest.core.IsEqual.equalTo import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.Parameterized +import org.robolectric.ParameterizedRobolectricTestRunner -@RunWith(Parameterized::class) +@RunWith(ParameterizedRobolectricTestRunner::class) class SnodeVersionTest( private val v1: String, private val v2: String, @@ -15,7 +16,7 @@ class SnodeVersionTest( ) { companion object { @JvmStatic - @Parameterized.Parameters(name = "{index}: testVersion({0},{1}) = (equalTo: {2}, lessThan: {3})") + @ParameterizedRobolectricTestRunner.Parameters(name = "{index}: testVersion({0},{1}) = (equalTo: {2}, lessThan: {3})") fun data(): Collection> = listOf( arrayOf("1", "1", true, false), arrayOf("1", "2", false, true),