(t *testing.T, url string)
| 66 | } |
| 67 | |
| 68 | func assertURLCalled(t *testing.T, url string) { |
| 69 | found := false |
| 70 | for _, requestedURL := range requests { |
| 71 | if requestedURL == url { |
| 72 | found = true |
| 73 | break |
| 74 | } |
| 75 | } |
| 76 | assert.True(t, found, "Expected %s to have been called, but got only %s", url, requests) |
| 77 | } |
| 78 | |
| 79 | var ( |
| 80 | user *structs.User |
no outgoing calls
no test coverage detected