(t *testing.T)
| 1791 | } |
| 1792 | |
| 1793 | func TestContextNegotiationFormat2(t *testing.T) { |
| 1794 | c, _ := CreateTestContext(httptest.NewRecorder()) |
| 1795 | c.Request, _ = http.NewRequest(http.MethodPost, "/", nil) |
| 1796 | c.Request.Header.Add("Accept", "image/tiff-fx") |
| 1797 | |
| 1798 | assert.Empty(t, c.NegotiateFormat("image/tiff")) |
| 1799 | } |
| 1800 | |
| 1801 | func TestContextIsAborted(t *testing.T) { |
| 1802 | c, _ := CreateTestContext(httptest.NewRecorder()) |
nothing calls this directly
no test coverage detected
searching dependent graphs…