mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-02 19:08:36 -06:00
close request bodies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -145,6 +145,9 @@ func TestProxyIntegration(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal("Error reading result body")
|
||||
}
|
||||
if err = rr.Result().Body.Close(); err != nil {
|
||||
t.Fatal("Error closing result body")
|
||||
}
|
||||
|
||||
bodyString := string(resultBody)
|
||||
if bodyString != `OK` {
|
||||
|
||||
Reference in New Issue
Block a user