satellite/admin: close http response body

Change-Id: I702e3a7e53d537d8be30b1aaabad4c4e70efe706
This commit is contained in:
Egon Elbre 2020-07-16 19:37:34 +03:00
parent d8dcae3075
commit b719eecb28

View File

@ -147,6 +147,7 @@ func TestAddUserSameEmail(t *testing.T) {
response, err = http.DefaultClient.Do(req)
require.NoError(t, err)
require.Equal(t, http.StatusConflict, response.StatusCode)
require.NoError(t, response.Body.Close())
})
}