File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 33// See the LICENSE file in the project root for more information.
44// Maintainer: Argo Zhang([email protected] ) Website: https://www.blazor.zone 55
6- using Microsoft . AspNetCore . Components . Rendering ;
7-
86namespace UnitTest . Services ;
97
108/// <summary>
@@ -94,10 +92,6 @@ public async Task Show_Component()
9492 } ) ;
9593 var button = cut . Find ( "button" ) ;
9694 await cut . InvokeAsync ( ( ) => button . Click ( ) ) ;
97-
98- // close
99- var close = cut . Find ( ".btn-mask-close" ) ;
100- await cut . InvokeAsync ( ( ) => close . Click ( ) ) ;
10195 }
10296
10397 [ Fact ]
@@ -120,11 +114,6 @@ public async Task Show_Type()
120114
121115 class MockComponent : ComponentBase
122116 {
123- protected override void BuildRenderTree ( RenderTreeBuilder builder )
124- {
125- builder . OpenComponent < DialogCloseButton > ( 0 ) ;
126- builder . AddAttribute ( 1 , "class" , "btn-mask-close" ) ;
127- builder . CloseComponent ( ) ;
128- }
117+
129118 }
130119}
You can’t perform that action at this time.
0 commit comments