@@ -612,7 +612,6 @@ public async Task GetEntriesShouldSerializeCorrectlyWihtMultipleLocales()
612
612
613
613
//Act
614
614
_client . ContentTypeResolver = new TestLocalizedResolver ( ) ;
615
- _client . ResolveEntriesSelectively = true ;
616
615
var res = await _client . GetEntries < MainContainerLocalized > ( ) ;
617
616
var list = res . ToList ( ) ;
618
617
@@ -1301,9 +1300,7 @@ public async Task AllAssetsInACollectionShouldDeserializeCorrectly()
1301
1300
_handler . Response = GetResponseFromFile ( @"EntryCollectionLoopedReferences.json" ) ;
1302
1301
1303
1302
//Act
1304
- _client . ResolveEntriesSelectively = true ;
1305
1303
var entries = await _client . GetEntries < ContentfulEvent > ( ) ;
1306
- _client . ResolveEntriesSelectively = false ;
1307
1304
var nulls = entries . Where ( c => c . Image == null ) . ToList ( ) ;
1308
1305
1309
1306
//Assert
@@ -1324,9 +1321,7 @@ public async Task AllAssetsInACollectionShouldDeserializeCorrectlyWithResolver()
1324
1321
_client . ContentTypeResolver = new TestResolver ( ) ;
1325
1322
1326
1323
//Act
1327
- _client . ResolveEntriesSelectively = true ;
1328
1324
var entries = await _client . GetEntries < IMarker > ( ) ;
1329
- _client . ResolveEntriesSelectively = false ;
1330
1325
var nulls = entries . Where ( c => ( c as ContentfulEvent ) . Image == null ) . ToList ( ) ;
1331
1326
1332
1327
//Assert
@@ -1360,9 +1355,7 @@ public async Task ComplexStructureIsDeserializedCorrectly()
1360
1355
_handler . Response = GetResponseFromFile ( @"NestedSharedStructure.json" ) ;
1361
1356
1362
1357
//Act
1363
- _client . ResolveEntriesSelectively = true ;
1364
1358
var res = await _client . GetEntries < TestNestedSharedItem > ( ) ;
1365
- _client . ResolveEntriesSelectively = false ;
1366
1359
1367
1360
//Assert
1368
1361
Assert . Single ( res ) ;
@@ -1378,9 +1371,7 @@ public async Task ComplexStructureIsDeserializedCorrectlyWithResolver()
1378
1371
_client . ContentTypeResolver = new TestResolver ( ) ;
1379
1372
1380
1373
//Act
1381
- _client . ResolveEntriesSelectively = true ;
1382
1374
var res = await _client . GetEntries < IMarker > ( ) ;
1383
- _client . ResolveEntriesSelectively = false ;
1384
1375
1385
1376
//Assert
1386
1377
Assert . Single ( res ) ;
@@ -1409,9 +1400,7 @@ public async Task ComplexStructureWithSelfReferenceInArrayIsDeserializedCorrectl
1409
1400
_handler . Response = GetResponseFromFile ( @"EntriesCollectionWithSelfreference.json" ) ;
1410
1401
1411
1402
//Act
1412
- _client . ResolveEntriesSelectively = true ;
1413
1403
var res = await _client . GetEntries < SelfReferencerInArray > ( ) ;
1414
- _client . ResolveEntriesSelectively = false ;
1415
1404
1416
1405
//Assert
1417
1406
Assert . Equal ( 5 , res . Count ( ) ) ;
@@ -1645,7 +1634,7 @@ public async Task TurningRichTextContentIntoHtmlShouldYieldCorrectResultWithSele
1645
1634
//Arrange
1646
1635
_handler . Response = GetResponseFromFile ( @"EntriesCollectionWithRichTextField.json" ) ;
1647
1636
_client . ContentTypeResolver = new RichTextResolver ( ) ;
1648
- _client . ResolveEntriesSelectively = true ;
1637
+
1649
1638
var htmlrenderer = new HtmlRenderer ( ) ;
1650
1639
htmlrenderer . AddRenderer ( new RichTextContentRenderer ( ) { Order = 10 } ) ;
1651
1640
//Act
0 commit comments