Skip to content

Commit

Permalink
remove extra test code
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Jun 15, 2022
1 parent df5fcf3 commit 37ecbe2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/webui/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 37ecbe2

Please sign in to comment.