(fakeCoderd func(req *http.Request) (*http.Response, error))
| 147 | } |
| 148 | |
| 149 | func (f *fakeIDPLocked) SetFakeCoderd(fakeCoderd func(req *http.Request) (*http.Response, error)) { |
| 150 | f.mu.Lock() |
| 151 | defer f.mu.Unlock() |
| 152 | f.fakeCoderd = fakeCoderd |
| 153 | } |
| 154 | |
| 155 | func (f *fakeIDPLocked) FakeCoderd() func(req *http.Request) (*http.Response, error) { |
| 156 | f.mu.RLock() |
no test coverage detected