(t *testing.T, ctx *authContext)
| 194 | } |
| 195 | |
| 196 | func setCurrentAuthContextForTest(t *testing.T, ctx *authContext) { |
| 197 | t.Helper() |
| 198 | |
| 199 | orig := currentAuthContext |
| 200 | currentAuthContext = ctx |
| 201 | t.Cleanup(func() { |
| 202 | currentAuthContext = orig |
| 203 | }) |
| 204 | } |
| 205 | |
| 206 | type accountJSONOutput struct { |
| 207 | Input accountInput `json:"input"` |
no outgoing calls
no test coverage detected