test: explicitly opt authoring fixtures into publication capability

This commit is contained in:
2026-10-20 15:55:23 +01:00
parent f0532e5ec4
commit a08789e071
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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)