remove http response from test logs

pull/127/head
hunterlong 2019-02-04 10:52:41 -08:00
parent acff0924a0
commit 548877a06e
4 changed files with 4 additions and 8 deletions

View File

@ -102,12 +102,11 @@ func TestGenericRoutes(t *testing.T) {
for _, v := range tests {
t.Run(v.Name, func(t *testing.T) {
body, t, err := RunHTTPTest(v, t)
_, t, err := RunHTTPTest(v, t)
assert.Nil(t, err)
if err != nil {
t.FailNow()
}
t.Logf("Test %v got: %v\n", v.Name, string(body))
})
}
}

View File

@ -24,12 +24,11 @@ func TestMessageRoutes(t *testing.T) {
for _, v := range tests {
t.Run(v.Name, func(t *testing.T) {
body, t, err := RunHTTPTest(v, t)
_, t, err := RunHTTPTest(v, t)
assert.Nil(t, err)
if err != nil {
t.FailNow()
}
t.Logf("Test %v got: %v\n", v.Name, string(body))
})
}
}

View File

@ -24,12 +24,11 @@ func TestServiceRoutes(t *testing.T) {
for _, v := range tests {
t.Run(v.Name, func(t *testing.T) {
body, t, err := RunHTTPTest(v, t)
_, t, err := RunHTTPTest(v, t)
assert.Nil(t, err)
if err != nil {
t.FailNow()
}
t.Logf("Test %v got: %v\n", v.Name, string(body))
})
}
}

View File

@ -24,12 +24,11 @@ func TestUserRoutes(t *testing.T) {
for _, v := range tests {
t.Run(v.Name, func(t *testing.T) {
body, t, err := RunHTTPTest(v, t)
_, t, err := RunHTTPTest(v, t)
assert.Nil(t, err)
if err != nil {
t.FailNow()
}
t.Logf("Test %v got: %v\n", v.Name, string(body))
})
}
}