@@ -10,13 +10,11 @@ import dev.gitlive.firebase.apps
10
10
import dev.gitlive.firebase.initialize
11
11
import dev.gitlive.firebase.runBlockingTest
12
12
import dev.gitlive.firebase.runTest
13
- import kotlinx.coroutines.CoroutineScope
14
13
import kotlinx.coroutines.Dispatchers
15
14
import kotlinx.coroutines.async
16
15
import kotlinx.coroutines.delay
17
16
import kotlinx.coroutines.flow.filter
18
17
import kotlinx.coroutines.flow.first
19
- import kotlinx.coroutines.test.TestResult
20
18
import kotlinx.coroutines.withContext
21
19
import kotlinx.serialization.KSerializer
22
20
import kotlinx.serialization.Serializable
@@ -702,13 +700,13 @@ class FirebaseFirestoreTest {
702
700
703
701
val fieldQuery = firestore
704
702
.collection(" testFirestoreQuerying" )
705
- .where { " prop1" ` in ` listOf (" aaa" , " bbb" ) }
703
+ .where { " prop1" inArray listOf (" aaa" , " bbb" ) }
706
704
707
705
fieldQuery.assertDocuments(FirestoreTest .serializer(), testOne, testTwo)
708
706
709
707
val pathQuery = firestore
710
708
.collection(" testFirestoreQuerying" )
711
- .where { FieldPath (FirestoreTest ::prop1.name) ` in ` listOf (" ccc" , " ddd" ) }
709
+ .where { FieldPath (FirestoreTest ::prop1.name) inArray listOf (" ccc" , " ddd" ) }
712
710
713
711
pathQuery.assertDocuments(FirestoreTest .serializer(), testThree)
714
712
}
@@ -719,13 +717,13 @@ class FirebaseFirestoreTest {
719
717
720
718
val fieldQuery = firestore
721
719
.collection(" testFirestoreQuerying" )
722
- .where { " prop1" notIn listOf (" aaa" , " bbb" ) }
720
+ .where { " prop1" notInArray listOf (" aaa" , " bbb" ) }
723
721
724
722
fieldQuery.assertDocuments(FirestoreTest .serializer(), testThree)
725
723
726
724
val pathQuery = firestore
727
725
.collection(" testFirestoreQuerying" )
728
- .where { FieldPath (FirestoreTest ::prop1.name) notIn listOf (" ccc" , " ddd" ) }
726
+ .where { FieldPath (FirestoreTest ::prop1.name) notInArray listOf (" ccc" , " ddd" ) }
729
727
730
728
pathQuery.assertDocuments(FirestoreTest .serializer(), testOne, testTwo)
731
729
}
@@ -737,7 +735,7 @@ class FirebaseFirestoreTest {
737
735
val andQuery = firestore
738
736
.collection(" testFirestoreQuerying" )
739
737
.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 )
741
739
}
742
740
andQuery.assertDocuments(FirestoreTest .serializer(), testOne)
743
741
0 commit comments