Re-enable checking of assemblies with strong names

This removes the `UsesCodeSignedAssemblies()` switch in `CorePsPlatform`
and reverts the work-arounds skipping strong name checking.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-06-27 14:49:46 -07:00
1 parent ee96212fb6
commit 97df59f553
5 files changed
+5 -52

No files matched your search

-6
View File
@@ -27,12 +27,6 @@ namespace PSTests
Assert.False(Platform.HasAmsi());
}
[Fact]
public static void TestUsesCodeSignedAssemblies()
{
Assert.False(Platform.UsesCodeSignedAssemblies());
}
[Fact]
public static void TestHasDriveAutoMounting()
{
+1 -1
View File
@@ -22,7 +22,7 @@ namespace PSTests
public void TestReadCoreEngineSnapIn()
{
PSSnapInInfo pSSnapInInfo = PSSnapInReader.ReadCoreEngineSnapIn();
Assert.Contains("PublicKeyToken=null", pSSnapInInfo.AssemblyName);
Assert.Contains("PublicKeyToken=31bf3856ad364e35", pSSnapInInfo.AssemblyName);
}
}
}