mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2025-03-30 19:41:20 +03:00
fixed possible bug in test
This commit is contained in:
parent
e4156e3ffd
commit
d2f1a124bc
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue