diff --git a/kotlin/tests/src/test/kotlin/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterTest.kt b/kotlin/tests/src/test/kotlin/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterTest.kt index d15e3c0..311d14e 100644 --- a/kotlin/tests/src/test/kotlin/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterTest.kt +++ b/kotlin/tests/src/test/kotlin/com/squareup/moshi/kotlin/reflect/KotlinJsonAdapterTest.kt @@ -869,6 +869,7 @@ class KotlinJsonAdapterTest { return value ?: "fallback" } }) + .add(KotlinJsonAdapterFactory()) .build() assertThat(moshi.adapter(HasNonNullConstructorParameter::class.java) @@ -935,6 +936,7 @@ class KotlinJsonAdapterTest { } null }) + .add(KotlinJsonAdapterFactory()) .build() val adapter = moshi.adapter(HasNullableBoolean::class.java).serializeNulls() assertThat(adapter.fromJson("""{"boolean":"not a boolean"}"""))