mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-25 14:46:02 +03:00
fixed possible bug in test
This commit is contained in:
parent
e4156e3ffd
commit
d2f1a124bc
@ -241,8 +241,7 @@ uf/TQPpjrGW5nxOf94qn6FzV2WSype9BcM5MD7z7rk202Fs7Zqc=
|
||||
srv := &http.Server{Addr: mockServerAddr, Handler: mux}
|
||||
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusCreated)
|
||||
_, err := io.WriteString(w, "ok")
|
||||
require.NoError(t.T(), err, "cannot response properly")
|
||||
_, _ = io.WriteString(w, "ok")
|
||||
})
|
||||
|
||||
testSkipChan := make(chan error, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user