@@ -167,7 +167,6 @@ public async Task FetchAssetCountAsync()
167167 else if ( jObject != null )
168168 {
169169 Assert . Equal ( 5 , jObject . GetValue ( "assets" ) ) ;
170- //Assert.True(true, "BuiltObject.Fetch is pass successfully.");
171170 }
172171 else
173172 {
@@ -273,7 +272,6 @@ public async Task AssetTags_FetchWithExistingAssetTags_ShouldReturnMatchingAsset
273272 ContentstackCollection < Asset > allAssets = await assetLibrary . FetchAll ( ) ;
274273
275274 int totalAssetsCount = allAssets . Count ( ) ;
276- Console . WriteLine ( $ "Total assets in stack: { totalAssetsCount } ") ;
277275 Assert . True ( totalAssetsCount >= 0 , "Total assets count should be non-negative" ) ;
278276
279277 if ( totalAssetsCount > 0 )
@@ -314,10 +312,6 @@ public async Task AssetTags_FetchWithExistingAssetTags_ShouldReturnMatchingAsset
314312
315313 Assert . True ( foundOriginalAsset , $ "Asset with UID { assetWithTags . Uid } should be found when filtering by tag '{ firstTag } '") ;
316314 }
317- else
318- {
319- Console . WriteLine ( "No assets with tags found - skipping tag filtering test" ) ;
320- }
321315 }
322316 }
323317
@@ -435,10 +429,6 @@ public async Task AssetTags_VerifyUrlQueriesParameter_ShouldContainTagsInQuery_T
435429 Assert . Contains ( "asset2" , tags ) ;
436430
437431 }
438- else
439- {
440- Console . WriteLine ( "Could not access UrlQueries field via reflection - test skipped" ) ;
441- }
442432 }
443433
444434 [ Fact ]
@@ -505,20 +495,15 @@ public async Task AssetTags_CompareFilteredVsAllAssets_ShouldReturnFewerOrEqualA
505495 Assert . NotNull ( allAssets ) ;
506496 Assert . NotNull ( filteredAssets ) ;
507497
508- // Get counts for comparison
509498 int allAssetsCount = allAssets . Count ( ) ;
510499 int filteredAssetsCount = filteredAssets . Count ( ) ;
511500
512501 Assert . True ( filteredAssetsCount <= allAssetsCount ,
513502 $ "Filtered assets ({ filteredAssetsCount } ) should be <= all assets ({ allAssetsCount } )") ;
514503
515- // Since we're using a tag that probably doesn't exist, count should be 0
516504 Assert . Equal ( 0 , filteredAssetsCount ) ;
517505
518- // All assets count should be greater than 0 (assuming there are assets in the stack)
519506 Assert . True ( allAssetsCount >= 0 , "All assets count should be non-negative" ) ;
520-
521- // Verify that filtering actually works by checking the difference
522507 if ( allAssetsCount > 0 )
523508 {
524509 Assert . True ( filteredAssetsCount < allAssetsCount ,
@@ -616,7 +601,6 @@ public async Task AssetTags_CaseSensitivityVerification_ShouldTestCaseBehavior_T
616601 ContentstackCollection < Asset > allAssets = await assetLibrary . FetchAll ( ) ;
617602
618603 int totalAssetsCount = allAssets . Count ( ) ;
619- Console . WriteLine ( $ "Total assets available: { totalAssetsCount } ") ;
620604 Assert . True ( totalAssetsCount >= 0 , "Total assets count should be non-negative" ) ;
621605
622606 Asset assetWithTags = null ;
@@ -673,18 +657,9 @@ public async Task AssetTags_CaseSensitivityVerification_ShouldTestCaseBehavior_T
673657 {
674658 Assert . Equal ( originalCount , upperCount ) ;
675659 Assert . Equal ( originalCount , lowerCount ) ;
676- Console . WriteLine ( "Verified: Tag search is case-insensitive" ) ;
677- }
678- else
679- {
680- Console . WriteLine ( "Note: Tag search appears to be case-sensitive" ) ;
681660 }
682661 }
683662 }
684- else
685- {
686- Console . WriteLine ( "Skipping case sensitivity test - no assets with tags found" ) ;
687- }
688663 }
689664 }
690665}
0 commit comments