mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-30 01:22:28 +00:00
fix test
This commit is contained in:
@@ -93,7 +93,7 @@ func TestUtilGetJSONPost(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestUtilSMS(t *testing.T) {
|
||||
server := httptest.NewServer(logRequest(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
|
||||
server := httptest.NewServer(reqMiddleware(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
|
||||
rw.Header().Set("Content-Type", "application/json")
|
||||
rw.WriteHeader(200)
|
||||
defer req.Body.Close()
|
||||
|
||||
Reference in New Issue
Block a user