File tree Expand file tree Collapse file tree
tests/StaticInput.UnitTests/Components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using FluentAssertions ;
2- using Microsoft . AspNetCore . Components . Rendering ;
3- using Microsoft . AspNetCore . Components ;
42using MudBlazor . StaticInput ;
53using StaticInput . UnitTests . Fixtures ;
64using Bunit ;
@@ -61,11 +59,11 @@ public void MudStaticRadio_Icon_Should_Reflect_Checked_State()
6159 IElement ? iconA = radioA . ParentElement . QuerySelector ( ".mud-icon-root" ) ;
6260 IElement ? iconB = radioB . ParentElement . QuerySelector ( ".mud-icon-root" ) ;
6361
64- iconA . Should ( ) . NotBeNull ( "L'icône de la radio A doit être rendue ." ) ;
65- iconB . Should ( ) . NotBeNull ( "L'icône de la radio B doit être rendue ." ) ;
62+ iconA . Should ( ) . NotBeNull ( "The A radio input should be rendered ." ) ;
63+ iconB . Should ( ) . NotBeNull ( "The B radio input should be rendered ." ) ;
6664
67- iconA . InnerHtml . Should ( ) . Contain ( "M12 7c-2.76" , "car la radio A est cochée " ) ;
68- iconB . InnerHtml . Should ( ) . Contain ( "M12 2C6.48" , "car la radio B est décochée " ) ;
65+ iconA . InnerHtml . Should ( ) . Contain ( "M12 7c-2.76" , "The A radio input is checked " ) ;
66+ iconB . InnerHtml . Should ( ) . Contain ( "M12 2C6.48" , "The B radio input is checked " ) ;
6967 }
7068 }
7169}
You can’t perform that action at this time.
0 commit comments