@@ -26,7 +26,7 @@ public void Setup()
2626 _localStorage = Substitute . For < ILocalStorageService > ( ) ;
2727 _js = Substitute . For < IJSRuntime > ( ) ;
2828
29- // NavigationManager is already registered in bUnit Context.Services as FakeNavigationManager
29+ // NavigationManager is already registered in bUnit Context.Services as BunitNavigationManager
3030 var navigation = Context . Services . GetRequiredService < NavigationManager > ( ) ;
3131
3232 _sut = new TenantService ( _tenantClient , navigation , _localStorage , _js ) ;
@@ -39,7 +39,7 @@ public void Setup()
3939 public async Task InitializeAsync_ShouldSetTenantFromUrl_WhenPresent ( )
4040 {
4141 // Arrange
42- var navigation = Context . Services . GetRequiredService < FakeNavigationManager > ( ) ;
42+ var navigation = Context . Services . GetRequiredService < BunitNavigationManager > ( ) ;
4343 navigation . NavigateTo ( "http://localhost/?tenant=apple" ) ;
4444
4545 var tenantInfo = new TenantInfoDto ( "apple" , "Apple Store" , "Tagline" , "#FFFFFF" , true ) ;
@@ -58,7 +58,7 @@ public async Task InitializeAsync_ShouldSetTenantFromUrl_WhenPresent()
5858 public async Task InitializeAsync_ShouldFallbackToLocalStorage_WhenUrlEmpty ( )
5959 {
6060 // Arrange
61- var navigation = Context . Services . GetRequiredService < FakeNavigationManager > ( ) ;
61+ var navigation = Context . Services . GetRequiredService < BunitNavigationManager > ( ) ;
6262 navigation . NavigateTo ( "http://localhost/" ) ;
6363
6464 _ = _localStorage . GetItemAsStringAsync ( "selected-tenant" ) . Returns ( "banana" ) ;
0 commit comments