password has to be at least 6 chars long
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user