Skip to content

Commit bf535c3

Browse files
authored
Merge 0804efa into master-4.0
2 parents a0148ed + 0804efa commit bf535c3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

realm/realm-library/src/androidTest/kotlin/io/realm/KotlinSchemaTests.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import org.junit.Before
2525
import org.junit.Rule
2626
import org.junit.Test
2727
import org.junit.runner.RunWith
28-
import kotlin.reflect.full.memberProperties
2928

3029
/**
3130
* This class tests how Kotlin classes are interpreted by Realm and exposed in the RealmSchema
@@ -50,7 +49,7 @@ class KotlinSchemaTests {
5049

5150
@Test
5251
fun kotlinTypeNonNull() {
53-
val objSchema = realm.getSchema().get(AllKotlinTypes::class.simpleName)!!
52+
val objSchema = realm.schema.get(AllKotlinTypes::class.simpleName)!!
5453

5554
// Document current nullability. Ideally all should be non-nullable. This is currently
5655
// not the case.

0 commit comments

Comments
 (0)