mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-11 18:41:18 +10:00
Adding Mullvad to DNS (#4927)
* Update dns.json * Fix Mullvad DNS review issues * Add Mullvad secondary resolvers * Register DoH before changing adapter DNS * Report DNS failures to tweak workflow * Handle non-terminating DNS assignment failures * Preserve DNS fallback and document Mullvad options --------- Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
co-authored by
Chris Titus
parent
afc3e1eec2
commit
0aa4ab3a40
@@ -374,6 +374,17 @@ Describe "UI-rendered config entries" {
|
||||
}
|
||||
}
|
||||
|
||||
It "exposes every configured DNS provider in the DNS combobox" {
|
||||
$dns = Get-WinUtilConfigObject -Name "dns"
|
||||
$tweaks = Get-WinUtilConfigObject -Name "tweaks"
|
||||
$comboItems = @($tweaks.WPFchangedns.ComboItems -split " ")
|
||||
$missingProviders = @($dns.PSObject.Properties.Name | Where-Object { $comboItems -notcontains $_ })
|
||||
|
||||
if ($missingProviders.Count -gt 0) {
|
||||
throw "WPFchangedns missing providers: $($missingProviders -join ', ')"
|
||||
}
|
||||
}
|
||||
|
||||
It "contains required feature fields and valid configured functions" {
|
||||
$feature = Get-WinUtilConfigObject -Name "feature"
|
||||
$functionNames = Get-WinUtilTopLevelFunctionNames
|
||||
|
||||
Reference in New Issue
Block a user