mirror of
				https://github.com/optim-enterprises-bv/databunker.git
				synced 2025-10-31 01:47:57 +00:00 
			
		
		
		
	fix test
This commit is contained in:
		| @@ -93,7 +93,7 @@ func TestUtilGetJSONPost(t *testing.T) { | |||||||
| } | } | ||||||
|  |  | ||||||
| func TestUtilSMS(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.Header().Set("Content-Type", "application/json") | ||||||
| 		rw.WriteHeader(200) | 		rw.WriteHeader(200) | ||||||
| 		defer req.Body.Close() | 		defer req.Body.Close() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 root
					root