Specify MaxSize in PATCH tests that refer to it

This commit is contained in:
Adam Jensen 2018-06-03 12:54:40 -04:00
parent a74c46816d
commit 750d4d5eb6
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,7 @@ func TestPatch(t *testing.T) {
handler, _ := NewHandler(Config{
DataStore: store,
MaxSize: 20,
})
body := strings.NewReader("hellothisismore")
@ -307,6 +308,7 @@ func TestPatch(t *testing.T) {
handler, _ := NewHandler(Config{
DataStore: store,
MaxSize: 20,
})
(&httpTest{
@ -346,6 +348,7 @@ func TestPatch(t *testing.T) {
handler, _ := NewHandler(Config{
DataStore: store,
MaxSize: 20,
})
(&httpTest{