password has to be at least 6 chars long

This commit is contained in:
2014-02-06 13:28:28 +01:00
parent 0be1efb2df
commit 7b14044c53
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ namespace PocketSharp.Tests
public async Task AreItemsRetrievedProperlyWithoutLimit()
{
List<PocketItem> items = await client.Get(state: State.all);
Assert.True(items.Count > 0);
Assert.True(items.Count > 6000);
}
[Fact]
+1 -1
View File
@@ -138,7 +138,7 @@ namespace PocketSharp
throw new FormatException("(2) Invalid username. Please only use letters, numbers, and/or dashes and between 1-20 characters.");
}
if (password.Length < 3)
if (password.Length < 6)
{
throw new FormatException("(3) Invalid password.");
}