(r Request)
| 33 | } |
| 34 | |
| 35 | func (p *TestPlugin) AuthZRes(r Request) Response { |
| 36 | return Response{ |
| 37 | Allow: false, |
| 38 | Msg: "You are not authorized", |
| 39 | Err: "", |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func TestActivate(t *testing.T) { |
| 44 | response, err := http.Get("http://localhost:32456/Plugin.Activate") |
nothing calls this directly
no outgoing calls
no test coverage detected