File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
gradle-plugin/plugin/src/test/java/com/yelp/codegen Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -244,8 +244,8 @@ class KotlinGeneratorTest {
244244 @Test
245245 fun toModelName_withImportMapping () {
246246 val generator = KotlinGenerator ()
247- generator.importMapping()[" threeten " ] = " org.threeten.bp.LocalDate "
248- assertEquals(" threeten " , generator.toModelName(" threeten " ))
247+ generator.importMapping()[" Instant " ] = " java.time.Instant "
248+ assertEquals(" Instant " , generator.toModelName(" Instant " ))
249249 }
250250
251251 @Test
Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ dependencies {
1818 implementation " com.squareup.retrofit2:adapter-rxjava2:2.7.1"
1919 kapt " com.squareup.moshi:moshi-kotlin-codegen:1.9.2"
2020
21- // Date Support
22- implementation " com.jakewharton.threetenabp:threetenabp:1.2.2"
23-
2421 // RxJava
2522 implementation " io.reactivex.rxjava2:rxjava:2.2.17"
2623 implementation " io.reactivex.rxjava2:rxandroid:2.1.1"
You can’t perform that action at this time.
0 commit comments