test: explicitly opt authoring fixtures into publication capability
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user