mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 05:11:21 +00:00
validate per_page before page
plus an additional check just in case Closes #1688
This commit is contained in:
@ -15,6 +15,8 @@ func TestPaginationPage(t *testing.T) {
|
||||
page int
|
||||
newPage int
|
||||
}{
|
||||
{0, 0, 1, 1},
|
||||
|
||||
{0, 10, 0, 1},
|
||||
{0, 10, 1, 1},
|
||||
{0, 10, 2, 1},
|
||||
|
Reference in New Issue
Block a user