We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c531e3f commit 7d366beCopy full SHA for 7d366be
cmd/dcrdata/internal/explorer/explorerroutes_test.go
@@ -7,6 +7,7 @@ import (
7
8
"github.com/decred/dcrd/chaincfg/v3"
9
"github.com/decred/dcrdata/db/dcrpg/v8"
10
+ apitypes "github.com/decred/dcrdata/v8/api/types"
11
"github.com/decred/dcrdata/v8/explorer/types"
12
)
13
@@ -71,6 +72,8 @@ func TestStatusPageResponseCodes(t *testing.T) {
71
72
TestnetLink: "/",
73
})
74
75
+ exp.SetStatus(new(apitypes.Status))
76
+
77
// handler := http.HandlerFunc()
78
// handler.ServeHTTP(rr, req)
79
0 commit comments