(t *testing.T)
| 262 | } |
| 263 | |
| 264 | func TestProcessStopError(t *testing.T) { |
| 265 | testServer(t, func(c *stdsdk.Client, p *structs.MockProvider) { |
| 266 | p.On("ProcessStop", "app1", "pid1").Return(fmt.Errorf("err1")) |
| 267 | err := c.Delete("/apps/app1/processes/pid1", stdsdk.RequestOptions{}, nil) |
| 268 | require.EqualError(t, err, "err1") |
| 269 | }) |
| 270 | } |
nothing calls this directly
no test coverage detected