(t *testing.T)
| 254 | } |
| 255 | |
| 256 | func TestProcessStop(t *testing.T) { |
| 257 | testServer(t, func(c *stdsdk.Client, p *structs.MockProvider) { |
| 258 | p.On("ProcessStop", "app1", "pid1").Return(nil) |
| 259 | err := c.Delete("/apps/app1/processes/pid1", stdsdk.RequestOptions{}, nil) |
| 260 | require.NoError(t, err) |
| 261 | }) |
| 262 | } |
| 263 | |
| 264 | func TestProcessStopError(t *testing.T) { |
| 265 | testServer(t, func(c *stdsdk.Client, p *structs.MockProvider) { |
nothing calls this directly
no test coverage detected