@@ -514,15 +514,8 @@ public async Task PersistAsync_CanPersistValueTypes_TupleProperty()
514514
515515 var renderer = new TestRenderer ( ) ;
516516 var component = new ValueTypeTestComponent { TupleValue = ( "test" , 456 ) } ;
517-
518- // Debug: Verify the property value is set correctly
519- Console . WriteLine ( $ "Component TupleValue before state creation: { component . TupleValue } ") ;
520-
521517 var componentStates = CreateComponentState ( renderer , [ ( component , null ) ] , null ) ;
522518 var componentState = componentStates . First ( ) ;
523-
524- // Debug: Verify the component in the state has the right value
525- Console . WriteLine ( $ "Component TupleValue after state creation: { ( ( ValueTypeTestComponent ) componentState . Component ) . TupleValue } ") ;
526519
527520 // Create the provider and subscribe the component
528521 var provider = new SupplyParameterFromPersistentComponentStateValueProvider ( persistenceManager . State ) ;
@@ -540,13 +533,6 @@ public async Task PersistAsync_CanPersistValueTypes_TupleProperty()
540533 newState . InitializeExistingState ( store . State ) ;
541534
542535 var key = SupplyParameterFromPersistentComponentStateValueProvider . ComputeKey ( componentState , cascadingParameterInfo . PropertyName ) ;
543-
544- // Debug: Check what's actually stored
545- Assert . True ( store . State . ContainsKey ( key ) , $ "Key { key } not found in store. Available keys: { string . Join ( ", " , store . State . Keys ) } ") ;
546- var rawValue = store . State [ key ] ;
547- var stringValue = System . Text . Encoding . UTF8 . GetString ( rawValue ) ;
548- Console . WriteLine ( $ "Raw stored value: { stringValue } ") ;
549-
550536 Assert . True ( newState . TryTakeFromJson < ( string , int ) > ( key , out var retrievedValue ) ) ;
551537 Assert . Equal ( ( "test" , 456 ) , retrievedValue ) ;
552538 }
0 commit comments