@@ -13,7 +13,7 @@ public class TextFieldTests(ContextFixture contextFixture) : BaseComponentTest(c
1313 [ Fact ]
1414 public void MudStaticTextField_Should_Render_TextField ( )
1515 {
16- var comp = Context . RenderComponent < MudStaticTextField < string > > ( ) ;
16+ var comp = Context . Render < MudStaticTextField < string > > ( ) ;
1717
1818 comp . Markup . Replace ( " " , string . Empty ) . Should ( ) . Contain ( "mud-input-control" )
1919 . And . Contain ( "mud-input-root" ) ;
@@ -22,7 +22,7 @@ public void MudStaticTextField_Should_Render_TextField()
2222 [ Fact ]
2323 public void TextField_Input_Should_Shink_Label ( )
2424 {
25- var comp = Context . RenderComponent < TextFieldLabelTest > ( ) ;
25+ var comp = Context . Render < TextFieldLabelTest > ( ) ;
2626
2727 var field = comp . FindComponents < MudStaticTextField < string > > ( )
2828 . First ( x => x . Instance . Label ! . Equals ( "Basic Label" , StringComparison . OrdinalIgnoreCase ) ) ;
@@ -39,7 +39,7 @@ public void TextField_Input_Should_Shink_Label()
3939 [ Fact ]
4040 public void TextField_AdonrmentStart_Should_Shink_Label ( )
4141 {
42- var comp = Context . RenderComponent < TextFieldLabelTest > ( ) ;
42+ var comp = Context . Render < TextFieldLabelTest > ( ) ;
4343
4444 var field = comp . FindComponents < MudStaticTextField < string > > ( )
4545 . First ( x => x . Instance . Label ! . Equals ( "Adornment Start" , StringComparison . OrdinalIgnoreCase ) ) ;
@@ -56,7 +56,7 @@ public void TextField_AdonrmentStart_Should_Shink_Label()
5656 [ Fact ]
5757 public void TextField_AdornmentEnd_Should_Not_Shink_Label ( )
5858 {
59- var comp = Context . RenderComponent < TextFieldLabelTest > ( ) ;
59+ var comp = Context . Render < TextFieldLabelTest > ( ) ;
6060
6161 var field = comp . FindComponents < MudStaticTextField < string > > ( )
6262 . First ( x => x . Instance . Label ! . Equals ( "Adornment End" , StringComparison . OrdinalIgnoreCase ) ) ;
@@ -73,7 +73,7 @@ public void TextField_AdornmentEnd_Should_Not_Shink_Label()
7373 [ Fact ]
7474 public void TextField_Shrink_Label_Should_Shink_Label ( )
7575 {
76- var comp = Context . RenderComponent < TextFieldLabelTest > ( ) ;
76+ var comp = Context . Render < TextFieldLabelTest > ( ) ;
7777
7878 var field = comp . FindComponents < MudStaticTextField < string > > ( )
7979 . First ( x => x . Instance . Label ! . Equals ( "Shrink Label" , StringComparison . OrdinalIgnoreCase ) ) ;
@@ -90,7 +90,7 @@ public void TextField_Shrink_Label_Should_Shink_Label()
9090 [ Fact ]
9191 public void TextField_Placeholder_Should_Shink_Label ( )
9292 {
93- var comp = Context . RenderComponent < TextFieldLabelTest > ( ) ;
93+ var comp = Context . Render < TextFieldLabelTest > ( ) ;
9494
9595 var field = comp . FindComponents < MudStaticTextField < string > > ( )
9696 . First ( x => x . Instance . Label ! . Equals ( "Placeholder" , StringComparison . OrdinalIgnoreCase ) ) ;
@@ -187,7 +187,7 @@ public async Task TextField_DataAnnotations_Are_Functional()
187187 [ Fact ]
188188 public void TextField_Adornment_Should_Render_Without_Button ( )
189189 {
190- var comp = Context . RenderComponent < TextFieldAdornmentTest > ( ) ;
190+ var comp = Context . Render < TextFieldAdornmentTest > ( ) ;
191191
192192 var field = comp . FindComponents < MudStaticTextField < string > > ( )
193193 . First ( x => x . Instance . Label ! . Equals ( "Email" , StringComparison . OrdinalIgnoreCase ) ) ;
@@ -198,7 +198,7 @@ public void TextField_Adornment_Should_Render_Without_Button()
198198 [ Fact ]
199199 public void TextField_With_AdornmentClickFunction_Should_Render_AdornmentButton ( )
200200 {
201- var comp = Context . RenderComponent < TextFieldAdornmentTest > ( ) ;
201+ var comp = Context . Render < TextFieldAdornmentTest > ( ) ;
202202
203203 var field = comp . FindComponents < MudStaticTextField < string > > ( )
204204 . First ( x => x . Instance . Label ! . Equals ( "Password" , StringComparison . OrdinalIgnoreCase ) ) ;
0 commit comments