Fix null warning in Windows test helper class
MODIFY
WalletWasabi.Tests/Helpers/WindowsStartupTestHelper.cs
WalletWasabi.Tests/Helpers/WindowsStartupTestHelper.cs
@@ -15,7 +15,7 @@ namespace WalletWasabi.Tests.Helpers
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
- RegistryKey? registryKey = Registry.CurrentUser.OpenSubKey(PathToRegistyKey, false);
+ RegistryKey? registryKey = Registry.CurrentUser.OpenSubKey(PathToRegistyKey, false) ?? throw new InvalidOperationException("Registry operation failed.");
result = registryKey.GetValueNames().Contains(nameof(WalletWasabi));
}

Fix null warning in Windows test helper class