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 57cd656 commit 15c682fCopy full SHA for 15c682f
1 file changed
internal/core/server_init_test.go
@@ -40,7 +40,7 @@ func TestServer_RegisterRoutes_And_Basics(t *testing.T) {
40
tplPath := filepath.Join("assets", "templates", "base.tmpl")
41
_ = os.WriteFile(tplPath, []byte("{{ define \"base\" }}ok{{ end }}"), 0o644)
42
43
- s, err := NewServer(logger, 0, st, sess, a, config.ForwardConfig{})
+ s, err := NewServer(logger, 0, st, sess, a, WithForwardConfig(config.ForwardConfig{}))
44
if err != nil {
45
t.Fatalf("new server: %v", err)
46
}
0 commit comments