(t *testing.T)
| 251 | } |
| 252 | |
| 253 | func TestMissingHostFallbackJSON(t *testing.T) { |
| 254 | entry := testAccessEntry() |
| 255 | entry.Request.RemoteAddr = "" |
| 256 | testAccessLog( |
| 257 | t, |
| 258 | entry, |
| 259 | `{"audit":"","auth-user":"","duration":42,"flow-id":"","host":"","level":"info","method":"GET","msg":"","proto":"HTTP/1.1","referer":"","requested-host":"example.com","response-size":2326,"status":418,"timestamp":"10/Oct/2000:13:55:36 -0700","uri":"/apache_pb.gif","user-agent":""}`, |
| 260 | Options{AccessLogJSONEnabled: true}, |
| 261 | ) |
| 262 | } |
| 263 | |
| 264 | func TestPresentFlowId(t *testing.T) { |
| 265 | entry := testAccessEntry() |
nothing calls this directly
no test coverage detected
searching dependent graphs…