test: explicitly opt authoring fixtures into publication capability
This commit is contained in:
@@ -24,7 +24,7 @@ func TestTemplateSubmitNamesRetainsAndExplicitlyPublishesSelectedTemplate(t *tes
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer store.Close()
|
||||
srv := httptest.NewServer(server.Handler(ctx, store))
|
||||
srv := httptest.NewServer(server.HandlerWithOptions(ctx, server.Options{AllowAuthoring: true}, store))
|
||||
defer srv.Close()
|
||||
url := "ws" + strings.TrimPrefix(srv.URL, "http") + "/connect"
|
||||
m := New(ctx, url)
|
||||
|
||||
Reference in New Issue
Block a user