Skip to content

Commit

Permalink
Skip macaroon tests which uses third party caveats.
Browse files Browse the repository at this point in the history
* Since Third party caveats are only supported
  through DotNetLightning.Core. This is because
  third-party caveats uses cryptographic operation.
  and we want to change the actual implementation in
  DotNetLightning.Core
  • Loading branch information
joemphilips committed Jun 9, 2020
1 parent 9705855 commit 416fb3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Macaroons.Tests/SerializationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void CanDeserializeMultipleFirstPartyCaveats()
}


[Fact]
[Fact(Skip = "Skip third party caveat tests")]
public void CanSerializeAndDeserializeThirdPartyCaveats()
{
// Arrange
Expand Down
8 changes: 4 additions & 4 deletions tests/Macaroons.Tests/VerificationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void VerificationFailsWithInvalidSignature()
}


[Fact]
[Fact(Skip = "Skip third party caveat tests")]
public void CanVerifyWithMultipleDischargeMacaroons()
{
// Arrange
Expand Down Expand Up @@ -201,7 +201,7 @@ public void CanVerifyWithMultipleDischargeMacaroons()
}


[Fact]
[Fact(Skip = "Skip third party caveat tests")]
public void VerificationFailsWhenDischargeMacaroonIsMissing()
{
// Arrange
Expand Down Expand Up @@ -244,7 +244,7 @@ public void VerificationFailsWhenDischargeMacaroonIsMissing()
}


[Fact]
[Fact(Skip = "Skip third party caveat tests")]
public void VerificationFailsWhenPredicatesForThirdPartyCaveatIsMissing()
{
// Arrange
Expand Down Expand Up @@ -285,7 +285,7 @@ public void VerificationFailsWhenPredicatesForThirdPartyCaveatIsMissing()
}


[Fact]
[Fact(Skip = "Skip third party caveat tests")]
public void VerificationFailsWhenHavingCircularMacaroonReferences()
{
// Arrange
Expand Down

0 comments on commit 416fb3f

Please sign in to comment.