44
55namespace UnitTest . Components ;
66
7- public class DropdownWigetTest : BootstrapBlazorTestBase
7+ public class DropdownWidgetTest : BootstrapBlazorTestBase
88{
99 [ Fact ]
1010 public void Items_OK ( )
@@ -54,12 +54,12 @@ public void Title_OK()
5454 builder . Add ( s => s . ChildContent , new RenderFragment ( builder =>
5555 {
5656 builder . OpenComponent < DropdownWidgetItem > ( 0 ) ;
57- builder . AddAttribute ( 1 , nameof ( DropdownWidgetItem . Title ) , "Wiget Title" ) ;
57+ builder . AddAttribute ( 1 , nameof ( DropdownWidgetItem . Title ) , "Widget Title" ) ;
5858 builder . CloseComponent ( ) ;
5959 } ) ) ;
6060 } ) ;
6161
62- Assert . Contains ( "Wiget Title" , cut . Markup ) ;
62+ Assert . Contains ( "Widget Title" , cut . Markup ) ;
6363 }
6464
6565 [ Fact ]
@@ -184,7 +184,7 @@ public void HeaderColor_OK()
184184 private static IEnumerable < DropdownWidgetItem > GetItems ( )
185185 {
186186 var ret = new List < DropdownWidgetItem > ( ) ;
187- var wiget = new DropdownWidgetItem ( ) ;
187+ var widget = new DropdownWidgetItem ( ) ;
188188 var parameters = new Dictionary < string , object ? > ( )
189189 {
190190 [ "Icon" ] = "fa-regular fa-bell" ,
@@ -207,8 +207,8 @@ private static IEnumerable<DropdownWidgetItem> GetItems()
207207 } ) ,
208208
209209 } ;
210- wiget . SetParametersAsync ( ParameterView . FromDictionary ( parameters ! ) ) ;
211- ret . Add ( wiget ) ;
210+ widget . SetParametersAsync ( ParameterView . FromDictionary ( parameters ! ) ) ;
211+ ret . Add ( widget ) ;
212212 return ret ;
213213 }
214214}
0 commit comments