diff --git a/src/ps_test/ps_test.cs b/src/ps_test/ps_test.cs index 438f6170eb..d42d7a0e51 100644 --- a/src/ps_test/ps_test.cs +++ b/src/ps_test/ps_test.cs @@ -14,6 +14,7 @@ namespace PSTests PlatformTests.TestHasAmsi(); PlatformTests.TestUsesCodeSignedAssemblies(); PlatformTests.TestHasDriveAutoMounting(); + PlatformTests.TestHasRegistrySupport(); PSTypeExtensionsTests.TestIsComObject(); diff --git a/src/ps_test/test_CorePsPlatform.cs b/src/ps_test/test_CorePsPlatform.cs index a5a2b724e3..6baf895c44 100644 --- a/src/ps_test/test_CorePsPlatform.cs +++ b/src/ps_test/test_CorePsPlatform.cs @@ -30,5 +30,10 @@ namespace PSTests { Assert.False(Platform.HasDriveAutoMounting()); } + + public static void TestHasRegistrySupport() + { + Assert.False(Platform.HasRegistrySupport()); + } } }