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
@@ -26,7 +26,7 @@ func TestCreateAndSubmit(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()
m := New(ctx, "ws"+strings.TrimPrefix(srv.URL, "http")+"/connect")
connected := m.connect()().(connectedMsg)