(t *testing.T)
| 102 | } |
| 103 | |
| 104 | func mustMakeRequest(t *testing.T) *http.Request { |
| 105 | r, err := http.NewRequest("GET", "/", nil) |
| 106 | if err != nil { |
| 107 | t.Fatal(errors.Wrap(err, "constructing request")) |
| 108 | } |
| 109 | |
| 110 | return r |
| 111 | } |
| 112 | |
| 113 | func TestGetCredential(t *testing.T) { |
| 114 | r1 := mustMakeRequest(t) |