We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0148ed + 0804efa commit bf535c3Copy full SHA for bf535c3
1 file changed
realm/realm-library/src/androidTest/kotlin/io/realm/KotlinSchemaTests.kt
@@ -25,7 +25,6 @@ import org.junit.Before
25
import org.junit.Rule
26
import org.junit.Test
27
import org.junit.runner.RunWith
28
-import kotlin.reflect.full.memberProperties
29
30
/**
31
* This class tests how Kotlin classes are interpreted by Realm and exposed in the RealmSchema
@@ -50,7 +49,7 @@ class KotlinSchemaTests {
50
49
51
@Test
52
fun kotlinTypeNonNull() {
53
- val objSchema = realm.getSchema().get(AllKotlinTypes::class.simpleName)!!
+ val objSchema = realm.schema.get(AllKotlinTypes::class.simpleName)!!
54
55
// Document current nullability. Ideally all should be non-nullable. This is currently
56
// not the case.
0 commit comments