Testing the push method (TODO coherence between return code a physical result)
This commit is contained in:
@ -12,20 +12,6 @@ namespace isn.tests
|
||||
{
|
||||
public class Tests
|
||||
{
|
||||
|
||||
[Fact]
|
||||
public void HaveADefaultDataProtector()
|
||||
{
|
||||
string pass = "a lame and big pass";
|
||||
isn.IDataProtector _protector = new isn.DefaultDataProtector();
|
||||
string protectedPassword = _protector.Protect(pass);
|
||||
string unprotectedPassword = _protector.UnProtect(protectedPassword);
|
||||
Console.WriteLine(protectedPassword);
|
||||
Assert.Equal(pass, unprotectedPassword);
|
||||
Assert.True(protectedPassword != null);
|
||||
Assert.True(protectedPassword.Length > 0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task TestHttpClient()
|
||||
{
|
||||
|
Reference in New Issue
Block a user