File tree Expand file tree Collapse file tree 2 files changed +31
-31
lines changed
Firestore/Example/Tests/SpecTests Expand file tree Collapse file tree 2 files changed +31
-31
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ - (ListenOptions)parseOptions:(NSDictionary *)optionsSpec {
393
393
394
394
if (optionsSpec != nil ) {
395
395
ListenSource source =
396
- [optionsSpec[@" source" ] intValue ] == 1 ? ListenSource::Cache : ListenSource::Default;
396
+ [optionsSpec[@" source" ] isEqual: @" cache " ] ? ListenSource::Cache : ListenSource::Default;
397
397
// include_metadata_changes are default to true in spec tests
398
398
options = ListenOptions::FromOptions (true , source);
399
399
}
Original file line number Diff line number Diff line change 126
126
"clientIndex" : 0 ,
127
127
"userListen" : {
128
128
"options" : {
129
- "source" : 1
129
+ "source" : " cache "
130
130
},
131
131
"query" : {
132
132
"filters" : [
247
247
"clientIndex" : 1 ,
248
248
"userListen" : {
249
249
"options" : {
250
- "source" : 1
250
+ "source" : " cache "
251
251
},
252
252
"query" : {
253
253
"filters" : [
474
474
{
475
475
"userListen" : {
476
476
"options" : {
477
- "source" : 1
477
+ "source" : " cache "
478
478
},
479
479
"query" : {
480
480
"filters" : [
551
551
{
552
552
"userListen" : {
553
553
"options" : {
554
- "source" : 1
554
+ "source" : " cache "
555
555
},
556
556
"query" : {
557
557
"filters" : [
615
615
{
616
616
"userListen" : {
617
617
"options" : {
618
- "source" : 1
618
+ "source" : " cache "
619
619
},
620
620
"query" : {
621
621
"filters" : [
788
788
{
789
789
"userListen" : {
790
790
"options" : {
791
- "source" : 1
791
+ "source" : " cache "
792
792
},
793
793
"query" : {
794
794
"filters" : [
867
867
{
868
868
"userListen" : {
869
869
"options" : {
870
- "source" : 1
870
+ "source" : " cache "
871
871
},
872
872
"query" : {
873
873
"filters" : [
1046
1046
{
1047
1047
"userListen" : {
1048
1048
"options" : {
1049
- "source" : 1
1049
+ "source" : " cache "
1050
1050
},
1051
1051
"query" : {
1052
1052
"filters" : [
1244
1244
{
1245
1245
"userListen" : {
1246
1246
"options" : {
1247
- "source" : 1
1247
+ "source" : " cache "
1248
1248
},
1249
1249
"query" : {
1250
1250
"filters" : [
1412
1412
{
1413
1413
"userListen" : {
1414
1414
"options" : {
1415
- "source" : 1
1415
+ "source" : " cache "
1416
1416
},
1417
1417
"query" : {
1418
1418
"filters" : [
1575
1575
"clientIndex" : 1 ,
1576
1576
"userListen" : {
1577
1577
"options" : {
1578
- "source" : 1
1578
+ "source" : " cache "
1579
1579
},
1580
1580
"query" : {
1581
1581
"filters" : [
1627
1627
"clientIndex" : 2 ,
1628
1628
"userListen" : {
1629
1629
"options" : {
1630
- "source" : 1
1630
+ "source" : " cache "
1631
1631
},
1632
1632
"query" : {
1633
1633
"filters" : [
1845
1845
"clientIndex" : 0 ,
1846
1846
"userListen" : {
1847
1847
"options" : {
1848
- "source" : 1
1848
+ "source" : " cache "
1849
1849
},
1850
1850
"query" : {
1851
1851
"filters" : [
1885
1885
"clientIndex" : 1 ,
1886
1886
"userListen" : {
1887
1887
"options" : {
1888
- "source" : 1
1888
+ "source" : " cache "
1889
1889
},
1890
1890
"query" : {
1891
1891
"filters" : [
2165
2165
"clientIndex" : 1 ,
2166
2166
"userListen" : {
2167
2167
"options" : {
2168
- "source" : 1
2168
+ "source" : " cache "
2169
2169
},
2170
2170
"query" : {
2171
2171
"filters" : [
2569
2569
"clientIndex" : 0 ,
2570
2570
"userListen" : {
2571
2571
"options" : {
2572
- "source" : 1
2572
+ "source" : " cache "
2573
2573
},
2574
2574
"query" : {
2575
2575
"filters" : [
2645
2645
"clientIndex" : 1 ,
2646
2646
"userListen" : {
2647
2647
"options" : {
2648
- "source" : 1
2648
+ "source" : " cache "
2649
2649
},
2650
2650
"query" : {
2651
2651
"filters" : [
3007
3007
"clientIndex" : 1 ,
3008
3008
"userListen" : {
3009
3009
"options" : {
3010
- "source" : 1
3010
+ "source" : " cache "
3011
3011
},
3012
3012
"query" : {
3013
3013
"filters" : [
3079
3079
"clientIndex" : 1 ,
3080
3080
"userListen" : {
3081
3081
"options" : {
3082
- "source" : 1
3082
+ "source" : " cache "
3083
3083
},
3084
3084
"query" : {
3085
3085
"filters" : [
3436
3436
"clientIndex" : 0 ,
3437
3437
"userListen" : {
3438
3438
"options" : {
3439
- "source" : 1
3439
+ "source" : " cache "
3440
3440
},
3441
3441
"query" : {
3442
3442
"filters" : [
3787
3787
{
3788
3788
"userListen" : {
3789
3789
"options" : {
3790
- "source" : 1
3790
+ "source" : " cache "
3791
3791
},
3792
3792
"query" : {
3793
3793
"filters" : [
3997
3997
{
3998
3998
"userListen" : {
3999
3999
"options" : {
4000
- "source" : 1
4000
+ "source" : " cache "
4001
4001
},
4002
4002
"query" : {
4003
4003
"filters" : [
4215
4215
{
4216
4216
"userListen" : {
4217
4217
"options" : {
4218
- "source" : 1
4218
+ "source" : " cache "
4219
4219
},
4220
4220
"query" : {
4221
4221
"filters" : [
4425
4425
{
4426
4426
"userListen" : {
4427
4427
"options" : {
4428
- "source" : 1
4428
+ "source" : " cache "
4429
4429
},
4430
4430
"query" : {
4431
4431
"filters" : [
4688
4688
{
4689
4689
"userListen" : {
4690
4690
"options" : {
4691
- "source" : 1
4691
+ "source" : " cache "
4692
4692
},
4693
4693
"query" : {
4694
4694
"filters" : [
4766
4766
"clientIndex" : 1 ,
4767
4767
"userListen" : {
4768
4768
"options" : {
4769
- "source" : 1
4769
+ "source" : " cache "
4770
4770
},
4771
4771
"query" : {
4772
4772
"filters" : [
4862
4862
"clientIndex" : 0 ,
4863
4863
"userListen" : {
4864
4864
"options" : {
4865
- "source" : 1
4865
+ "source" : " cache "
4866
4866
},
4867
4867
"query" : {
4868
4868
"filters" : [
5131
5131
"clientIndex" : 2 ,
5132
5132
"userListen" : {
5133
5133
"options" : {
5134
- "source" : 1
5134
+ "source" : " cache "
5135
5135
},
5136
5136
"query" : {
5137
5137
"filters" : [
5462
5462
"clientIndex" : 1 ,
5463
5463
"userListen" : {
5464
5464
"options" : {
5465
- "source" : 1
5465
+ "source" : " cache "
5466
5466
},
5467
5467
"query" : {
5468
5468
"filters" : [
5720
5720
{
5721
5721
"userListen" : {
5722
5722
"options" : {
5723
- "source" : 1
5723
+ "source" : " cache "
5724
5724
},
5725
5725
"query" : {
5726
5726
"filters" : [
You can’t perform that action at this time.
0 commit comments