Skip to content

Commit 7d366be

Browse files
update TestStatusPageResponseCodes-s
1 parent c531e3f commit 7d366be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/dcrdata/internal/explorer/explorerroutes_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77

88
"github.com/decred/dcrd/chaincfg/v3"
99
"github.com/decred/dcrdata/db/dcrpg/v8"
10+
apitypes "github.com/decred/dcrdata/v8/api/types"
1011
"github.com/decred/dcrdata/v8/explorer/types"
1112
)
1213

@@ -71,6 +72,8 @@ func TestStatusPageResponseCodes(t *testing.T) {
7172
TestnetLink: "/",
7273
})
7374

75+
exp.SetStatus(new(apitypes.Status))
76+
7477
// handler := http.HandlerFunc()
7578
// handler.ServeHTTP(rr, req)
7679

0 commit comments

Comments
 (0)