Skip to content

Commit

Permalink
enable 4 tests on Mac (#3275)
Browse files Browse the repository at this point in the history
  • Loading branch information
heng-liu authored Mar 6, 2020
1 parent 28c3ae2 commit 7433756
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void GetCertificateChain_WhenCertificateTypeUndefined_Throws()
Assert.Equal("certificateType", exception.ParamName);
}

[PlatformFact(Platform.Windows, Platform.Linux)] // https://github.com/NuGet/Home/issues/8047
[Fact]
public void GetCertificateChain_WithUntrustedRoot_Throws()
{
using (var chainHolder = new X509ChainHolder())
Expand Down Expand Up @@ -119,7 +119,7 @@ public void GetCertificateChain_WithUntrustedRoot_Throws()
}
}

[PlatformFact(Platform.Windows, Platform.Linux)] // https://github.com/NuGet/Home/issues/8047
[Fact]
public void GetCertificateChain_WithUntrustedSelfIssuedCertificate_ReturnsChain()
{
using (var certificate = _fixture.GetDefaultCertificate())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void Verify_WithNotYetValidCertificate_Throws()
}
}

[PlatformFact(Platform.Windows, Platform.Linux)] // https://github.com/NuGet/Home/issues/8047
[Fact]
public void Verify_WhenChainBuildingFails_Throws()
{
using (var certificate = _fixture.GetExpiredCertificate())
Expand Down Expand Up @@ -129,7 +129,7 @@ public void Verify_WhenChainBuildingFails_Throws()
}
}

[PlatformFact(Platform.Windows, Platform.Linux)] // https://github.com/NuGet/Home/issues/8047
[Fact]
public void Verify_WithUntrustedSelfSignedCertificate_Succeeds()
{
using (var certificate = _fixture.GetDefaultCertificate())
Expand Down

0 comments on commit 7433756

Please sign in to comment.