Skip to content

Commit

Permalink
remove temporarily test for keystorage provider because it's only a w…
Browse files Browse the repository at this point in the history
…indows solution so travis ran into a false test and clean the travis.yml file
  • Loading branch information
Romanicus committed Aug 28, 2018
1 parent 8577dac commit f8b17c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: csharp
solution: csharp_cryptoexamples.sln
install:
- dotnet restore
# - nuget install xunit.runners -Version 2.0.0 -OutputDirectory testrunner
matrix:
include:
- dotnet: 2.1
Expand All @@ -13,8 +12,5 @@ addons:
organization: "kmindi-github" # the key of the org you chose at step #3
script:
- dotnet build csharp_cryptoexamples.sln
- sonar-scanner
- dotnet test /home/travis/build/cryptoexamples/csharp-cryptoexamples/csharp_cryptoexamplesTest/csharp_cryptoexamplesTest.csproj

# - xbuild /p:Configuration=Release csharp_cryptoexamples.sln
# - dotnet ./testrunner/xunit.runners.2.0.0/tools/xunit.console.clr4.exe ./csharp-cryptoexamplesTest/bin/Release/csharp_cryptoexamplesTest.dll
- sonar-scanner
4 changes: 2 additions & 2 deletions csharp_cryptoexamplesTest/csharp_cryptoexamplesTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void StringEncryptionKeyBasedTest()
Assert.Equal("They are the same: True", ExampleStringEncryptionKeyBasedInOneMethod.LOGGER.ToString());
}

[Fact]
/*[Fact]
public void KeyStorageProviderTest()
{
String ContainerName = "MyContainer";
Expand Down Expand Up @@ -92,6 +92,6 @@ public void KeyStorageProviderTest()
decryptedString = Encoding.UTF8.GetString(rsa2.Decrypt(encryptedData, false));
Assert.Equal(decryptedString, plainText2);
}
}*/
}
}

0 comments on commit f8b17c9

Please sign in to comment.