From 37ecbe2c22fcd0b651cf6c99b32fa04a865aceae Mon Sep 17 00:00:00 2001 From: Pavlo Golub Date: Wed, 15 Jun 2022 18:27:54 +0200 Subject: [PATCH] remove extra test code --- src/webui/status_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/webui/status_test.go b/src/webui/status_test.go index 48cc4113d0..fa5fd62fb4 100644 --- a/src/webui/status_test.go +++ b/src/webui/status_test.go @@ -13,9 +13,6 @@ func TestStatus(t *testing.T) { restsrv := webui.Init("127.0.0.1:8080") assert.NotNil(t, restsrv) - _, err := http.Get("http://localhost:80/") - assert.Error(t, err) - r, err := http.Get("http://localhost:8080/") assert.NoError(t, err) assert.Equal(t, http.StatusOK, r.StatusCode)