mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
bb87563d23
commit
76ca212641
|
@ -208,7 +208,6 @@ func runTest(t *testing.T, dir, coverDir string, repls testdiff.ReplacementsCont
|
|||
|
||||
for _, stub := range config.Server {
|
||||
require.NotEmpty(t, stub.Pattern)
|
||||
require.NotEmpty(t, stub.Response.Body)
|
||||
server.Handle(stub.Pattern, func(req *http.Request) (resp any, err error) {
|
||||
b := json.RawMessage(stub.Response.Body)
|
||||
return b, nil
|
||||
|
|
Loading…
Reference in New Issue