File tree 1 file changed +2
-2
lines changed
src/Components/Components/test/Auth
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ public void WithoutCascadedAuthenticationState_WrapsOutputInCascadingAuthenticat
219
219
// own CascadingAuthenticationState
220
220
component => Assert . IsType < CascadingAuthenticationState > ( component ) ,
221
221
component => Assert . IsType < CascadingValue < Task < AuthenticationState > > > ( component ) ,
222
- component => Assert . True ( component is AuthorizeViewCore ) ,
222
+ component => Assert . IsAssignableFrom < AuthorizeViewCore > ( component ) ,
223
223
component => Assert . IsType < LayoutView > ( component ) ,
224
224
component => Assert . IsType < TestPageWithNoAuthorization > ( component ) ) ;
225
225
}
@@ -250,7 +250,7 @@ public void WithCascadedAuthenticationState_DoesNotWrapOutputInCascadingAuthenti
250
250
251
251
// This is the hierarchy inside the AuthorizeRouteView. It doesn't contain a
252
252
// further CascadingAuthenticationState
253
- component => Assert . True ( component is AuthorizeViewCore ) ,
253
+ component => Assert . IsAssignableFrom < AuthorizeViewCore > ( component ) ,
254
254
component => Assert . IsType < LayoutView > ( component ) ,
255
255
component => Assert . IsType < TestPageWithNoAuthorization > ( component ) ) ;
256
256
}
You can’t perform that action at this time.
0 commit comments