mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Add unit test for HasRegistrySupport()
The use of the function in RegistryProvider cannot be tested without a mock of a PowerShell cmdlet context.
This commit is contained in:
1 parent
3919ec8375
commit
b2e3a1e2e3
2 files changed
+6
No files matched your search
@@ -30,5 +30,10 @@ namespace PSTests
|
||||
{
|
||||
Assert.False(Platform.HasDriveAutoMounting());
|
||||
}
|
||||
|
||||
public static void TestHasRegistrySupport()
|
||||
{
|
||||
Assert.False(Platform.HasRegistrySupport());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user