mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
4cdcbd6b12
commit
f98369d9e9
|
@ -20,7 +20,7 @@ func TestTelemetryUpload(t *testing.T) {
|
||||||
t.Cleanup(server.Close)
|
t.Cleanup(server.Close)
|
||||||
|
|
||||||
count := 0
|
count := 0
|
||||||
server.Handle("POST /telemetry-ext", func(_ *testserver.FakeWorkspace, req *http.Request) (resp any, statusCode int) {
|
server.Handle("POST", "/telemetry-ext", func(_ *testserver.FakeWorkspace, req *http.Request) (resp any, statusCode int) {
|
||||||
count++
|
count++
|
||||||
if count == 1 {
|
if count == 1 {
|
||||||
return ResponseBody{
|
return ResponseBody{
|
||||||
|
|
Loading…
Reference in New Issue