Skip to content

Commit 941c398

Browse files
committed
KeyVariablesIntegrationTest.kt fixed
1 parent 799f33d commit 941c398

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

firebase-dataconnect/connectors/src/androidTest/kotlin/com/google/firebase/dataconnect/connectors/demo/KeyVariablesIntegrationTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package com.google.firebase.dataconnect.connectors.demo
1919
import com.google.firebase.dataconnect.connectors.demo.testutil.DemoConnectorIntegrationTestBase
2020
import com.google.firebase.dataconnect.testutil.property.arbitrary.dataConnect
2121
import com.google.firebase.dataconnect.testutil.property.arbitrary.dateTestData
22-
import com.google.firebase.dataconnect.testutil.property.arbitrary.toJavaUtilDate
2322
import com.google.firebase.dataconnect.testutil.randomTimestamp
2423
import com.google.firebase.dataconnect.testutil.withMicrosecondPrecision
2524
import io.kotest.matchers.shouldBe
@@ -86,7 +85,7 @@ class KeyVariablesIntegrationTest : DemoConnectorIntegrationTestBase() {
8685

8786
@Test
8887
fun primaryKeyIsDate() = runTest {
89-
val id = Arb.dataConnect.dateTestData().next(rs).toJavaUtilDate()
88+
val id = Arb.dataConnect.dateTestData().next(rs).date
9089
val value = Arb.dataConnect.string().next(rs)
9190

9291
val key = connector.insertPrimaryKeyIsDate.execute(foo = id, value = value).data.key

0 commit comments

Comments
 (0)