Skip to content

Commit

Permalink
fix dotnet
Browse files Browse the repository at this point in the history
  • Loading branch information
doxthree committed Feb 27, 2024
1 parent 7427d0c commit 578b303
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions dotnet/Vaas/test/Vaas.Test/IntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,16 @@ public async Task GenerateFileList()
Assert.Equal(Vaas.Sha256CheckSum("test3.txt"), resultList[2].Sha256);
}

[Skip]
// [Fact]
public async void FromSha256_ReturnsPup_ForAmtsoSample()
{
var vaas = await AuthenticateWithCredentials();
var actual = await vaas.ForSha256Async(
new ChecksumSha256("d6f6c6b9fde37694e12b12009ad11ab9ec8dd0f193e7319c523933bdad8a50ad"),
CancellationToken.None);
Assert.Equal(Verdict.Pup, actual.Verdict);
Assert.Equal("d6f6c6b9fde37694e12b12009ad11ab9ec8dd0f193e7319c523933bdad8a50ad", actual.Sha256, true);
}
// public async void FromSha256_ReturnsPup_ForAmtsoSample()
// {
// var vaas = await AuthenticateWithCredentials();
// var actual = await vaas.ForSha256Async(
// new ChecksumSha256("d6f6c6b9fde37694e12b12009ad11ab9ec8dd0f193e7319c523933bdad8a50ad"),
// CancellationToken.None);
// Assert.Equal(Verdict.Pup, actual.Verdict);
// Assert.Equal("d6f6c6b9fde37694e12b12009ad11ab9ec8dd0f193e7319c523933bdad8a50ad", actual.Sha256, true);
// }

[Theory]
[InlineData("https://random-data-api.com/api/v2/beers", Verdict.Clean)]
Expand Down

0 comments on commit 578b303

Please sign in to comment.