@@ -32,6 +32,7 @@ public async Task SaveAndLoadAsyncStoresManagementKeyOutsideDesktopJson()
3232 ThemeMode = AppThemeMode . Dark ,
3333 MinimumLogLevel = AppLogLevel . Warning ,
3434 EnableDebugTools = true ,
35+ EnableLocalRepairDebugReport = true ,
3536 LastRepositoryPath = @"C:\repo" ,
3637 SecurityKeyOnboardingCompleted = true ,
3738 LastSeenApplicationVersion = "1.2.3" ,
@@ -50,6 +51,7 @@ public async Task SaveAndLoadAsyncStoresManagementKeyOutsideDesktopJson()
5051 Assert . Equal ( AppThemeMode . Dark , actual . ThemeMode ) ;
5152 Assert . Equal ( AppLogLevel . Warning , actual . MinimumLogLevel ) ;
5253 Assert . True ( actual . EnableDebugTools ) ;
54+ Assert . True ( actual . EnableLocalRepairDebugReport ) ;
5355 Assert . Equal ( @"C:\repo" , actual . LastRepositoryPath ) ;
5456 Assert . True ( actual . SecurityKeyOnboardingCompleted ) ;
5557 Assert . Equal ( "1.2.3" , actual . LastSeenApplicationVersion ) ;
@@ -59,6 +61,7 @@ public async Task SaveAndLoadAsyncStoresManagementKeyOutsideDesktopJson()
5961 Assert . Contains ( "managementKeyReference" , persistedJson , StringComparison . Ordinal ) ;
6062 Assert . Contains ( "\" rememberPassword\" : true" , persistedJson , StringComparison . Ordinal ) ;
6163 Assert . Contains ( "\" autoLogin\" : false" , persistedJson , StringComparison . Ordinal ) ;
64+ Assert . Contains ( "\" enableLocalRepairDebugReport\" : true" , persistedJson , StringComparison . Ordinal ) ;
6265 Assert . DoesNotContain ( "rememberManagementKey" , persistedJson , StringComparison . Ordinal ) ;
6366 Assert . Contains (
6467 "\" securityKeyOnboardingCompleted\" : true" ,
@@ -133,6 +136,7 @@ public async Task SaveAndLoadAsyncPreservesShellAndUpdatePreferences()
133136 ThemeMode = AppThemeMode . White ,
134137 MinimumLogLevel = AppLogLevel . Error ,
135138 EnableDebugTools = true ,
139+ EnableLocalRepairDebugReport = true ,
136140 } ;
137141
138142 await service . SaveAsync ( expected ) ;
@@ -146,6 +150,7 @@ public async Task SaveAndLoadAsyncPreservesShellAndUpdatePreferences()
146150 Assert . Equal ( AppThemeMode . White , actual . ThemeMode ) ;
147151 Assert . Equal ( AppLogLevel . Error , actual . MinimumLogLevel ) ;
148152 Assert . True ( actual . EnableDebugTools ) ;
153+ Assert . True ( actual . EnableLocalRepairDebugReport ) ;
149154 }
150155
151156 [ Fact ]
0 commit comments