Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
fix: error 'schema: converter not found for integration.manifest'
Browse files Browse the repository at this point in the history
  • Loading branch information
leg100 committed Oct 19, 2023
1 parent 781e0f6 commit e53ebf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/integration/github_app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"github.com/leg100/otf/internal/auth"
"github.com/leg100/otf/internal/daemon"
"github.com/leg100/otf/internal/github"
"github.com/leg100/otf/internal/http/decode"
"github.com/leg100/otf/internal/run"
"github.com/leg100/otf/internal/testutils"
"github.com/leg100/otf/internal/vcsprovider"
Expand Down Expand Up @@ -69,12 +68,13 @@ func TestIntegration_GithubAppNewUI(t *testing.T) {
mux := http.NewServeMux()
mux.HandleFunc(path, func(w http.ResponseWriter, r *http.Request) {
type manifest struct {
Public bool `json:"public"`
Public bool
}
var params struct {
Manifest manifest
}
require.NoError(t, decode.All(&params, r))
err := json.NewDecoder(r.Body).Decode(&params)
require.NoError(t, err)
assert.Equal(t, public, params.Manifest.Public)
})
stub := httptest.NewTLSServer(mux)
Expand Down

0 comments on commit e53ebf2

Please sign in to comment.