test: explicitly opt authoring fixtures into publication capability
This commit is contained in:
@@ -24,7 +24,7 @@ func TestRetainedDraftBrowserValidatesAndExplicitlySubmits(t *testing.T) {
|
||||
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"
|
||||
d, err := draft.Create("", pipeline.Template([]string{"worker"}, true), url, true, 0)
|
||||
|
||||
Reference in New Issue
Block a user