@@ -10,13 +10,11 @@ import dev.gitlive.firebase.apps
1010import dev.gitlive.firebase.initialize
1111import dev.gitlive.firebase.runBlockingTest
1212import dev.gitlive.firebase.runTest
13- import kotlinx.coroutines.CoroutineScope
1413import kotlinx.coroutines.Dispatchers
1514import kotlinx.coroutines.async
1615import kotlinx.coroutines.delay
1716import kotlinx.coroutines.flow.filter
1817import kotlinx.coroutines.flow.first
19- import kotlinx.coroutines.test.TestResult
2018import kotlinx.coroutines.withContext
2119import kotlinx.serialization.KSerializer
2220import kotlinx.serialization.Serializable
@@ -702,13 +700,13 @@ class FirebaseFirestoreTest {
702700
703701 val fieldQuery = firestore
704702 .collection(" testFirestoreQuerying" )
705- .where { " prop1" ` in ` listOf (" aaa" , " bbb" ) }
703+ .where { " prop1" inArray listOf (" aaa" , " bbb" ) }
706704
707705 fieldQuery.assertDocuments(FirestoreTest .serializer(), testOne, testTwo)
708706
709707 val pathQuery = firestore
710708 .collection(" testFirestoreQuerying" )
711- .where { FieldPath (FirestoreTest ::prop1.name) ` in ` listOf (" ccc" , " ddd" ) }
709+ .where { FieldPath (FirestoreTest ::prop1.name) inArray listOf (" ccc" , " ddd" ) }
712710
713711 pathQuery.assertDocuments(FirestoreTest .serializer(), testThree)
714712 }
@@ -719,13 +717,13 @@ class FirebaseFirestoreTest {
719717
720718 val fieldQuery = firestore
721719 .collection(" testFirestoreQuerying" )
722- .where { " prop1" notIn listOf (" aaa" , " bbb" ) }
720+ .where { " prop1" notInArray listOf (" aaa" , " bbb" ) }
723721
724722 fieldQuery.assertDocuments(FirestoreTest .serializer(), testThree)
725723
726724 val pathQuery = firestore
727725 .collection(" testFirestoreQuerying" )
728- .where { FieldPath (FirestoreTest ::prop1.name) notIn listOf (" ccc" , " ddd" ) }
726+ .where { FieldPath (FirestoreTest ::prop1.name) notInArray listOf (" ccc" , " ddd" ) }
729727
730728 pathQuery.assertDocuments(FirestoreTest .serializer(), testOne, testTwo)
731729 }
@@ -737,7 +735,7 @@ class FirebaseFirestoreTest {
737735 val andQuery = firestore
738736 .collection(" testFirestoreQuerying" )
739737 .where {
740- FieldPath (FirestoreTest ::prop1.name) ` in ` listOf (" aaa" , " bbb" ) and (FieldPath (FirestoreTest ::count.name) equalTo 1 )
738+ FieldPath (FirestoreTest ::prop1.name) inArray listOf (" aaa" , " bbb" ) and (FieldPath (FirestoreTest ::count.name) equalTo 1 )
741739 }
742740 andQuery.assertDocuments(FirestoreTest .serializer(), testOne)
743741
0 commit comments